diff options
author | Peter Göbel <peter.goebel@debd.de> | 2015-10-05 17:22:47 +0200 |
---|---|---|
committer | Peter Göbel <peter.goebel@debd.de> | 2015-10-05 17:22:47 +0200 |
commit | e2c5d08e7e4482bd13b8e2e4f77db73dc757d6a7 (patch) | |
tree | 3e2ed73cc5a01b257e4f32f6f35a2bb778e2176e /app/views/profiles/preferences/show.html.haml | |
parent | 144eef38507a5b3e21f8aa5e38247bdfd73fba23 (diff) | |
download | gitlab-ce-e2c5d08e7e4482bd13b8e2e4f77db73dc757d6a7.tar.gz |
added user preference to change layout width
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 60289bfe7cd..c12a358651f 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -33,6 +33,13 @@ Behavior .panel-body .form-group + = f.label :layout, class: 'control-label' do + Layout width + .col-sm-10 + = f.select :layout, layout_choices, {}, class: 'form-control' + .help-block + Choose between small (max. 1200px) and wide (100%) application layout + .form-group = f.label :dashboard, class: 'control-label' do Default Dashboard = link_to('(?)', help_page_path('profile', 'preferences') + '#default-dashboard', target: '_blank') |