diff options
| author | Zog | 2018-01-24 10:39:38 +0100 |
|---|---|---|
| committer | cedricnjanga | 2018-01-31 07:16:22 -0800 |
| commit | e126e59759d2fcb8d5989cf154a5f56ff5268f02 (patch) | |
| tree | 2f825f30272874ced12807f694a348c0e4c0baea /app | |
| parent | 3a383e10f0b90e7367a6776bdf9ed1783ff739ac (diff) | |
| download | chouette-core-e126e59759d2fcb8d5989cf154a5f56ff5268f02.tar.bz2 | |
Add links to doc
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/stylesheets/components/_toolbar.sass | 2 | ||||
| -rw-r--r-- | app/views/shared/_development_toolbar.html.slim | 3 |
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" |
