Commit b8371f25015a2e6ccd0b575d247ec994218ca397
1 parent
24169eb8
Exists in
master
and in
22 other branches
Creating new article directly from user menu
(ActionItem1407)
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
app/views/shared/user_menu.rhtml
... | ... | @@ -23,6 +23,10 @@ |
23 | 23 | <%= link_to('<span class="icon-menu-my-groups"></span>' + _('My groups'), { :controller => 'memberships', :profile => user.identifier, :action => 'index' }) %> |
24 | 24 | </li> |
25 | 25 | |
26 | + <li> | |
27 | + <%= lightbox_link_to('<span class="icon-new"></span>' + _('New article'), user.admin_url.merge(:controller => 'cms', :action => 'new')) %> | |
28 | + </li> | |
29 | + | |
26 | 30 | <% for enterprise in user.enterprises %> |
27 | 31 | <li><%= link_to('<span class="icon-menu-enterprise"></span>' + (_('Manage %s') % enterprise.short_name), { :controller => 'profile_editor', :profile => enterprise.identifier, :action => 'index' }) %></li> |
28 | 32 | <% end %> | ... | ... |