Add class to use in JS and test, add flash error container

This commit is contained in:
kushalpandya 2017-07-19 18:15:12 +05:30
parent 11f9b0e77c
commit eed91391a0

View file

@ -1,4 +1,4 @@
.panel.panel-default.protected-branches-list
.panel.panel-default.protected-branches-list.js-protected-branches-list
- if @protected_branches.empty?
.panel-heading
%h3.panel-title
@ -23,6 +23,8 @@
- if can_admin_project
%th
%tbody
%tr
%td.flash-container{ colspan: 5 }
= yield
= paginate @protected_branches, theme: 'gitlab'