aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/components/_toolbar.sass2
-rw-r--r--app/views/shared/_development_toolbar.html.slim3
2 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components/_toolbar.sass b/app/assets/stylesheets/components/_toolbar.sass
index 47ae2ac0c..86a32bd82 100644
--- a/app/assets/stylesheets/components/_toolbar.sass
+++ b/app/assets/stylesheets/components/_toolbar.sass
@@ -29,6 +29,8 @@
label
padding-left: 5px
font-weight: normal
+ & + a
+ float: right
h5
font-weight: bold
&.permissions
diff --git a/app/views/shared/_development_toolbar.html.slim b/app/views/shared/_development_toolbar.html.slim
index 4ad69f7ad..aafd37885 100644
--- a/app/views/shared/_development_toolbar.html.slim
+++ b/app/views/shared/_development_toolbar.html.slim
@@ -17,6 +17,9 @@
= hidden_field_tag "features[#{feature}]", false, id: ""
= check_box_tag "features[#{feature}]", true, has_feature?(feature)
= label :features, feature
+ - if Rails.application.config.development_toolbar.features_doc_url
+ = link_to "#{Rails.application.config.development_toolbar.features_doc_url}##{feature}", target: :blank do
+ .fa.fa-question-circle
.col.permissions
h4
= "Permissions"