Commit e8a82603 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

show danger settings by default

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d30e1f5c
...@@ -86,18 +86,7 @@ ...@@ -86,18 +86,7 @@
.danger-settings.js-toggle-container .danger-settings
.centered-light-block
%h3
%i.fa.fa-exclamation-triangle
Dangerous settings
%p Project settings below may result in data loss!
= link_to '#', class: 'btn js-toggle-button' do
Show them to me
%i.fa.fa-chevron-down
.js-toggle-content.hide
- if can? current_user, :archive_project, @project - if can? current_user, :archive_project, @project
.panel.panel-default.panel.panel-warning .panel.panel-default.panel.panel-warning
.panel-heading .panel-heading
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment