diff options
Diffstat (limited to 'app/views/projects/protected_tags/_tags_list.html.haml')
-rw-r--r-- | app/views/projects/protected_tags/_tags_list.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/protected_tags/_tags_list.html.haml b/app/views/projects/protected_tags/_tags_list.html.haml new file mode 100644 index 00000000000..a6b18cc9f8f --- /dev/null +++ b/app/views/projects/protected_tags/_tags_list.html.haml @@ -0,0 +1,4 @@ +- can_admin_project = can?(current_user, :admin_project, @project) + += render layout: 'projects/protected_tags/shared/tags_list' do + = render partial: 'projects/protected_tags/protected_tag', collection: @protected_tags, locals: { can_admin_project: can_admin_project} |