From 36b7747a663f96a00f9ea715a6c3977c407bd0ac Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 15 Feb 2008 17:33:42 +0000 Subject: [PATCH] ActionItem154: moving 'Register new enterprise'' out of the enterprises list itself --- app/views/profile_editor/index.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/profile_editor/index.rhtml b/app/views/profile_editor/index.rhtml index 9d7c0bb..7656691 100644 --- a/app/views/profile_editor/index.rhtml +++ b/app/views/profile_editor/index.rhtml @@ -27,15 +27,15 @@ <% if @profile.person? %>

<%= _('My organizations') %>

- + <% file_manager do %> <% @profile.enterprise_memberships.each do |em| %> <%= file_manager_button(em.name, em.image ? em.image.public_filename(:minor) : 'icons-app/organization.png', :profile => em.identifier, :controller => 'profile_editor' ) %> <% end %> - <%= file_manager_button(_('Register a new Enterprise'), 'icons-app/enterprise-registration.png', :controller => 'enterprise_registration') %> - <% end %> + <%= button(:add, _('Register a new Enterprise'), :controller => 'enterprise_registration') %> + <% end %> -- libgit2 0.21.2