- page_title 'Badges'
- badges_path = namespace_project_badges_path(@project.namespace, @project)
- header_title project_title(@project, 'Badges', badges_path)

.prepend-top-10
  .panel.panel-default
    .panel-heading
      %b Builds badge &middot;
      = @build_badge.to_html
      .pull-right
        = render 'shared/ref_switcher', destination: 'badges'
    .panel-body
      .row
        .col-md-2.text-center
          Markdown
        .col-md-10.code.js-syntax-highlight
          = highlight('.md', @build_badge.to_markdown)
      .row
        %hr
      .row
        .col-md-2.text-center
          HTML
        .col-md-10.code.js-syntax-highlight
          = highlight('.html', @build_badge.to_html)
