diff --git a/app/controllers/admin/admin_panel_controller.rb b/app/controllers/admin/admin_panel_controller.rb index 14106cc..6c2b103 100644 --- a/app/controllers/admin/admin_panel_controller.rb +++ b/app/controllers/admin/admin_panel_controller.rb @@ -7,6 +7,7 @@ class AdminPanelController < AdminController end def site_info + @no_design_blocks = true if request.post? if params[:environment][:languages] params[:environment][:languages] = params[:environment][:languages].map {|lang, value| lang if value=='true'}.compact diff --git a/app/views/admin_panel/_signup_welcome_screen.html.erb b/app/views/admin_panel/_signup_welcome_screen.html.erb new file mode 100644 index 0000000..26bdb53 --- /dev/null +++ b/app/views/admin_panel/_signup_welcome_screen.html.erb @@ -0,0 +1,5 @@ +
+ <%= _('This text will be showed as a welcome message to users after signup') %>

+
+ +<%= labelled_form_field(_('Body'), text_area(:environment, :signup_welcome_screen_body, :cols => 40, :style => 'width: 100%', :class => 'mceEditor')) %> diff --git a/app/views/admin_panel/_signup_welcome_screen.rhtml b/app/views/admin_panel/_signup_welcome_screen.rhtml deleted file mode 100644 index 26bdb53..0000000 --- a/app/views/admin_panel/_signup_welcome_screen.rhtml +++ /dev/null @@ -1,5 +0,0 @@ -
- <%= _('This text will be showed as a welcome message to users after signup') %>

-
- -<%= labelled_form_field(_('Body'), text_area(:environment, :signup_welcome_screen_body, :cols => 40, :style => 'width: 100%', :class => 'mceEditor')) %> -- libgit2 0.21.2