Commit 2f354a9e97983130209f99c0fd4b01ed98b522fa
1 parent
303c546a
Exists in
master
and in
27 other branches
Rename view (rhtml -> html.erb) and hide sideblocks
(ActionItem3042)
Showing
3 changed files
with
6 additions
and
5 deletions
Show diff stats
app/controllers/admin/admin_panel_controller.rb
@@ -7,6 +7,7 @@ class AdminPanelController < AdminController | @@ -7,6 +7,7 @@ class AdminPanelController < AdminController | ||
7 | end | 7 | end |
8 | 8 | ||
9 | def site_info | 9 | def site_info |
10 | + @no_design_blocks = true | ||
10 | if request.post? | 11 | if request.post? |
11 | if params[:environment][:languages] | 12 | if params[:environment][:languages] |
12 | params[:environment][:languages] = params[:environment][:languages].map {|lang, value| lang if value=='true'}.compact | 13 | params[:environment][:languages] = params[:environment][:languages].map {|lang, value| lang if value=='true'}.compact |
@@ -0,0 +1,5 @@ | @@ -0,0 +1,5 @@ | ||
1 | +<div class='description'> | ||
2 | + <%= _('This text will be showed as a welcome message to users after signup') %><br/><br/> | ||
3 | +</div> | ||
4 | + | ||
5 | +<%= labelled_form_field(_('Body'), text_area(:environment, :signup_welcome_screen_body, :cols => 40, :style => 'width: 100%', :class => 'mceEditor')) %> |
app/views/admin_panel/_signup_welcome_screen.rhtml
@@ -1,5 +0,0 @@ | @@ -1,5 +0,0 @@ | ||
1 | -<div class='description'> | ||
2 | - <%= _('This text will be showed as a welcome message to users after signup') %><br/><br/> | ||
3 | -</div> | ||
4 | - | ||
5 | -<%= labelled_form_field(_('Body'), text_area(:environment, :signup_welcome_screen_body, :cols => 40, :style => 'width: 100%', :class => 'mceEditor')) %> |