diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3dbf313..a89a1dc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1177,7 +1177,7 @@ module ApplicationHelper pending_tasks_count = link_to(count.to_s, @environment.top_url + '/myprofile/{login}/tasks', :id => 'pending-tasks-count', :title => _("Manage your pending tasks")) end - (_('Welcome, %s') % link_to('{login}', @environment.top_url + '/{login}', :id => "homepage-link", :title => _('Go to your homepage'))) + + (_("Welcome, %s") % link_to('{login}', @environment.top_url + '/{login}', :id => "homepage-link", :title => _('Go to your homepage'))) + render_environment_features(:usermenu) + link_to('' + _('Administration') + '', @environment.top_url + '/admin', :id => "controlpanel", :title => _("Configure the environment"), :class => 'admin-link', :style => 'display: none') + manage_enterprises.to_s + diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index 8e16388..c6dcb04 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -53,7 +53,7 @@ <%= usermenu_logged_in %>