BigW Consortium Gitlab

index.html.haml 710 Bytes
Newer Older
1
- page_title 'Badges'
2 3
- badges_path = namespace_project_badges_path(@project.namespace, @project)
- header_title project_title(@project, 'Badges', badges_path)
4 5 6 7 8

.prepend-top-10
  .panel.panel-default
    .panel-heading
      %b Builds badge ·
9
      = @build_badge.to_html
10 11
      .pull-right
        = render 'shared/ref_switcher', destination: 'badges'
12
    .panel-body
13 14 15
      .row
        .col-md-2.text-center
          Markdown
16
        .col-md-10.code.js-syntax-highlight
17
          = highlight('.md', @build_badge.to_markdown)
18 19 20 21 22
      .row
        %hr
      .row
        .col-md-2.text-center
          HTML
23
        .col-md-10.code.js-syntax-highlight
24
          = highlight('.html', @build_badge.to_html)