Commit 2f354a9e97983130209f99c0fd4b01ed98b522fa

Authored by Joenio Costa
1 parent 303c546a

Rename view (rhtml -> html.erb) and hide sideblocks

(ActionItem3042)
app/controllers/admin/admin_panel_controller.rb
... ... @@ -7,6 +7,7 @@ class AdminPanelController < AdminController
7 7 end
8 8  
9 9 def site_info
  10 + @no_design_blocks = true
10 11 if request.post?
11 12 if params[:environment][:languages]
12 13 params[:environment][:languages] = params[:environment][:languages].map {|lang, value| lang if value=='true'}.compact
... ...
app/views/admin_panel/_signup_welcome_screen.html.erb 0 → 100644
... ... @@ -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   -<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')) %>