ref: master
app/views/shared/user_menu.html.erb
<%= image_tag 'icons-app/person-icon.png', :alt => "{login} icon photo", :height => "20", :border => "0" %> <%= _("%s's Menu") % '{login}' %>
- <%= link_to( '' + _('My Home Page'), '/{login}')%>
- <%= link_to('' + _('My groups'), '/myprofile/{login}/memberships') %>
- <%= modal_link_to '' + _('New article'), '/myprofile/{login}/cms/new' %>
- <%= _('Manage %s') % '{name}' %>
<% if MailConf.enabled? %>- <%= link_to '' + _('Webmail'), MailConf.webmail_url('{login}', '{email_domain}') %>
<% end %>- <%= link_to(''+ _('Control panel'), '/myprofile/{login}', :id => 'link_edit_profile') %>
- <%= link_to( ''+ _('Admin'), {:controller => 'admin_panel' }, :id => 'link_admin_panel' ) %>
- <%= link_to( ''+ _('Logout'), {:controller => 'account', :action => 'logout'}, :id => 'link_logout' ) %>
<% if params[:controller] != 'account' || params[:action] != 'signup' %> <% if theme_option( :menu_login ) == 'full_form' %> <%= render :file => 'account/login_block' %> <% else %> <%= modal_inline_link_to(''+ _('Login'), login_url, '#inlineLoginBox', :id => 'link_login') %><%= render :file => 'account/login', :locals => { :is_popin => true } %><% end %> <% end %>