Commit eda41914504dc3df6a0e4342d519024a7601c2c3
Exists in
master
and in
11 other branches
Merge branch 'master' into 'master'
Add reconfigure attribute for sign_in_text Added section to gitlab.yml.erb for setting 'extra: sign_in_text' from gitlab.rb Updated to remove else section
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
... | ... | @@ -238,10 +238,13 @@ production: &base |
238 | 238 | # piwik_url: '_your_piwik_url' |
239 | 239 | # piwik_site_id: '_your_piwik_site_id' |
240 | 240 | |
241 | + <% if @extra_sign_in_text %> | |
241 | 242 | ## Text under sign-in page (Markdown enabled) |
242 | - # sign_in_text: | | |
243 | - #  | |
244 | - # [Learn more about CompanyName](http://www.companydomain.com/) | |
243 | + sign_in_text: | | |
244 | + <% @extra_sign_in_text.to_s.split("\n").each do |line| %> | |
245 | + <%= line %> | |
246 | + <% end %> | |
247 | + <% end %> | |
245 | 248 | |
246 | 249 | development: |
247 | 250 | <<: *base | ... | ... |