Commit 36b7747a663f96a00f9ea715a6c3977c407bd0ac

Authored by AntonioTerceiro
1 parent 7e753c77

ActionItem154: moving 'Register new enterprise'' out of the enterprises list itself


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1377 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/views/profile_editor/index.rhtml
... ... @@ -27,15 +27,15 @@
27 27  
28 28 <% if @profile.person? %>
29 29 <h2><%= _('My organizations') %></h2>
30   -
  30 +
31 31 <% file_manager do %>
32 32  
33 33 <% @profile.enterprise_memberships.each do |em| %>
34 34 <%= file_manager_button(em.name, em.image ? em.image.public_filename(:minor) : 'icons-app/organization.png', :profile => em.identifier, :controller => 'profile_editor' ) %>
35 35 <% end %>
36 36  
37   - <%= file_manager_button(_('Register a new Enterprise'), 'icons-app/enterprise-registration.png', :controller => 'enterprise_registration') %>
38   -
39 37 <% end %>
40 38  
  39 + <%= button(:add, _('Register a new Enterprise'), :controller => 'enterprise_registration') %>
  40 +
41 41 <% end %>
... ...