diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-04-07 15:48:58 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-04-07 15:48:58 +0300 |
commit | 6f15e89a6b83dcfef897dda414325b85090e2c40 (patch) | |
tree | 3b2d8d2fc6729410923571dffff05b715fedf7dd /app/views/projects/protected_tags | |
parent | 72419f3a8b94874de059f3567980844c7aaa6336 (diff) |
Show Flash message above Tags list
Diffstat (limited to 'app/views/projects/protected_tags')
-rw-r--r-- | app/views/projects/protected_tags/_tags_list.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
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' |