From 6f15e89a6b83dcfef897dda414325b85090e2c40 Mon Sep 17 00:00:00 2001 From: Kushal Pandya Date: Fri, 7 Apr 2017 18:18:58 +0530 Subject: Show Flash message above Tags list --- app/views/projects/protected_tags/_tags_list.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/projects') diff --git a/app/views/projects/protected_tags/_tags_list.html.haml b/app/views/projects/protected_tags/_tags_list.html.haml index cc006ed8a0b..728afd75b50 100644 --- a/app/views/projects/protected_tags/_tags_list.html.haml +++ b/app/views/projects/protected_tags/_tags_list.html.haml @@ -1,4 +1,4 @@ -.panel.panel-default.protected-tags-list +.panel.panel-default.protected-tags-list.js-protected-tags-list - if @protected_tags.empty? .panel-heading %h3.panel-title @@ -21,6 +21,8 @@ - if can_admin_project %th %tbody + %tr + %td.flash-container{ colspan: 4 } = render partial: 'projects/protected_tags/protected_tag', collection: @protected_tags, locals: { can_admin_project: can_admin_project} = paginate @protected_tags, theme: 'gitlab' -- cgit v1.2.1