blob: 5f3ea2812781a35120396c19ad8ec7c9c6f7ae72 (
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
|
.protected-tags-list.js-protected-tags-list
- if @protected_tags.empty?
.card-header
Protected tags (0)
%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
= yield
= paginate @protected_tags, theme: 'gitlab'
|