summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/shared/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/protected_tags/shared/_index.html.haml')
-rw-r--r--app/views/projects/protected_tags/shared/_index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/protected_tags/shared/_index.html.haml b/app/views/projects/protected_tags/shared/_index.html.haml
index c07bd454ff6..e764a37bbd7 100644
--- a/app/views/projects/protected_tags/shared/_index.html.haml
+++ b/app/views/projects/protected_tags/shared/_index.html.haml
@@ -1,6 +1,6 @@
- expanded = Rails.env.test?
-%section.settings
+%section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
Protected Tags
@@ -8,7 +8,7 @@
= expanded ? 'Collapse' : 'Expand'
%p
Limit access to creating and updating tags.
- .settings-content.no-animate{ class: ('expanded' if expanded) }
+ .settings-content
%p
By default, protected tags are designed to:
%ul