Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_tags_list.html.haml « shared « protected_tags « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5a430727443214212c372cd5b1511b8207176fa (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
26
27
28
29
.protected-tags-list.js-protected-tags-list
  - if @protected_tags.empty?
    .card-header
      Protected tags (#{@protected_tags_count})
    %p.settings-message.text-center
      No tags are protected.
  - else
    - can_admin_project = can?(current_user, :admin_project, @project)

    %table.table.table-bordered
      %colgroup
        %col{ width: "25%" }
        %col{ width: "25%" }
        %col{ width: "50%" }
        - if can_admin_project
          %col
      %thead
        %tr
          %th Protected tags (#{@protected_tags_count})
          %th Last commit
          %th Allowed to create
          - if can_admin_project
            %th
      %tbody
        %tr
          %td.flash-container{ colspan: 4 }
        = yield

    = paginate @protected_tags, theme: 'gitlab'