Commit 373515dc07f4cb5741893d9f2054f6adcbbf24a1

Authored by Antonio Terceiro
2 parents a1e766d2 95dcf2c7

Merge commit '95dcf2c7b510406e78d2c7d5472ca1207c67136e' into v0.11.x

app/views/account/_signup_form.rhtml
@@ -41,6 +41,17 @@ @@ -41,6 +41,17 @@
41 <%= hidden_field_tag :new_user, true %> 41 <%= hidden_field_tag :new_user, true %>
42 <% end %> 42 <% end %>
43 43
  44 +<% if ! defined? hidden_atention || ! hidden_atention %>
  45 +<p/>
  46 +<div class="atention">
  47 +<%= _('Here you should create a login for an <b>individual person</b>.
  48 +<br/>
  49 +Do <b>not</b> enter a login for a group nor for an entreprise.
  50 +With your user login, you can create <b>many</b> group or entreprise
  51 +accounts. You can do it from your personal control panel.') %>
  52 +</div>
  53 +<% end %>
  54 +
44 <% button_bar do %> 55 <% button_bar do %>
45 <%= submit_button('save', _('Sign up'), :cancel => {:action => 'index'}, :class => 'icon-menu-login') %> 56 <%= submit_button('save', _('Sign up'), :cancel => {:action => 'index'}, :class => 'icon-menu-login') %>
46 <% end %> 57 <% end %>
app/views/account/activate_enterprise.rhtml
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 13
14 <div id="enterprise-activation-create-user-form" style="display: none"> 14 <div id="enterprise-activation-create-user-form" style="display: none">
15 <h3><%= _('Personal signup form') %></h3> 15 <h3><%= _('Personal signup form') %></h3>
16 - <%= render :partial => 'signup_form' %> 16 + <%= render :partial => 'signup_form', :locals => { :hidden_atention => true } %>
17 <p><%= message = _('<b>Warning</b>: this form is for your personal information, not of your enterprise. So you will have a personal account that can manage your enterprise.') %></p> 17 <p><%= message = _('<b>Warning</b>: this form is for your personal information, not of your enterprise. So you will have a personal account that can manage your enterprise.') %></p>
18 </div> 18 </div>
19 19
public/stylesheets/common.css
@@ -157,6 +157,11 @@ div#notice { @@ -157,6 +157,11 @@ div#notice {
157 margin: 0px 0px 10px 0px; 157 margin: 0px 0px 10px 0px;
158 } 158 }
159 159
  160 +.atention {
  161 + border: 6px double #000;
  162 + background: #FE5;
  163 + padding: 8px 13px;
  164 +}
160 165
161 #better-browser-promotion { 166 #better-browser-promotion {
162 position: absolute; 167 position: absolute;