summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAlex Lossent <alexandre.lossent@cern.ch>2015-05-29 17:42:27 +0200
committerAlex Lossent <alexandre.lossent@cern.ch>2015-05-29 18:20:15 +0200
commit60225a067dd69e047088dc73f1227fce071311e3 (patch)
tree62931326d34fe15c89a534f6e0e1f985944dee2c /app/views
parenta3b60982e59b7a3be052a62b5d89393d12c64562 (diff)
downloadgitlab-ce-60225a067dd69e047088dc73f1227fce071311e3.tar.gz
Allow to configure a URL to show after sign out
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/application_settings/_form.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index dd8978647c4..188a08940ab 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -70,6 +70,11 @@
= f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block'
%span.help-block#home_help_block We will redirect non-logged in users to this page
.form-group
+ = f.label :after_sign_out_path, class: 'control-label col-sm-2'
+ .col-sm-10
+ = f.text_field :after_sign_out_path, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'after_sign_out_path_help_block'
+ %span.help-block#after_sign_out_path_help_block We will redirect users to this page after they sign out
+ .form-group
= f.label :sign_in_text, class: 'control-label col-sm-2'
.col-sm-10
= f.text_area :sign_in_text, class: 'form-control', rows: 4