Commit ab4f0e6b890183d16d014da0dac5f447a7c2b61b

Authored by Rodrigo Souto
1 parent 08bcc0ca

[template-welcome-page] Change welcome attributes labels

Showing 1 changed file with 5 additions and 2 deletions   Show diff stats
app/views/admin_panel/site_info.html.erb
@@ -10,9 +10,12 @@ @@ -10,9 +10,12 @@
10 :content => (render :partial => 'site_info', :locals => {:f => f})} %> 10 :content => (render :partial => 'site_info', :locals => {:f => f})} %>
11 <% tabs << {:title => _('Terms of use'), :id => 'terms-of-use', 11 <% tabs << {:title => _('Terms of use'), :id => 'terms-of-use',
12 :content => (render :partial => 'terms_of_use', :locals => {:f => f})} %> 12 :content => (render :partial => 'terms_of_use', :locals => {:f => f})} %>
13 - <% tabs << {:title => _('Signup welcome text'), :id => 'signup-welcome-text', 13 + <% #TODO I renamed the labels of signup-welcome-text and signup-welcome-page
  14 + # so texts more meaningful but I'm not rewriting every variable or reference to
  15 + # this. I leave this task to whoever thinks this is too annoying.%>
  16 + <% tabs << {:title => _('Signup welcome email'), :id => 'signup-welcome-text',
14 :content => (render :partial => 'signup_welcome_text', :locals => {:f => f})} %> 17 :content => (render :partial => 'signup_welcome_text', :locals => {:f => f})} %>
15 - <% tabs << {:title => _('Signup welcome message'), :id => 'signup-welcome-message', 18 + <% tabs << {:title => _('Signup welcome page'), :id => 'signup-welcome-message',
16 :content => (render :partial => 'signup_welcome_screen', :locals => {:f => f}) }%> 19 :content => (render :partial => 'signup_welcome_screen', :locals => {:f => f}) }%>
17 <%= render_tabs(tabs) %> 20 <%= render_tabs(tabs) %>
18 <% button_bar do %> 21 <% button_bar do %>