summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/show.html.haml
blob: 1ac6cf2c7ce71e1f33250f4ade26d6b285c2892f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- page_title @protected_ref.name, "Protected Tags"

.row.prepend-top-default.append-bottom-default
  .col-lg-3
    %h4.prepend-top-0.monospace
      = @protected_ref.name

  .col-lg-9
    %h5 Matching Tags
    - if @matching_refs.present?
      .table-responsive
        %table.table.protected-tags-list
          %colgroup
            %col{ width: "30%" }
            %col{ width: "30%" }
          %thead
            %tr
              %th Tag
              %th Last commit
          %tbody
            - @matching_refs.each do |matching_tag|
              = render partial: "matching_tag", object: matching_tag
    - else
      %p.settings-message.text-center
        Couldn't find any matching tags.