Commit 856560ccbd7de91c7a94b3e14c8d69649ab95330
1 parent
97db792e
Exists in
master
and in
29 other branches
ActionItem1030: adding "my groups" link
Showing
3 changed files
with
6 additions
and
0 deletions
Show diff stats
app/views/shared/user_menu.rhtml
@@ -19,6 +19,10 @@ | @@ -19,6 +19,10 @@ | ||
19 | <%= link_to( '<span class="icon-menu-home"></span>' + __('My Home Page'), user.url, :help => _('Go to your home page.'))%> | 19 | <%= link_to( '<span class="icon-menu-home"></span>' + __('My Home Page'), user.url, :help => _('Go to your home page.'))%> |
20 | </li> | 20 | </li> |
21 | 21 | ||
22 | + <li> | ||
23 | + <%= link_to('<span class="icon-menu-my-groups"></span>' + __('My communities'), { :controller => 'memberships', :profile => user.identifier, :action => 'index' }) %> | ||
24 | + </li> | ||
25 | + | ||
22 | <!-- li><a href="#"><span class="icon-menu-blog"></span> Meu Blog</a></li --> | 26 | <!-- li><a href="#"><span class="icon-menu-blog"></span> Meu Blog</a></li --> |
23 | 27 | ||
24 | <% if MailConf.enabled? && current_user.enable_email %> | 28 | <% if MailConf.enabled? && current_user.enable_email %> |
lib/zen3_terminology.rb
@@ -66,6 +66,7 @@ class Zen3Terminology < Noosfero::Terminology::Custom | @@ -66,6 +66,7 @@ class Zen3Terminology < Noosfero::Terminology::Custom | ||
66 | 'Manage community fields' => N_('Manage group fields'), | 66 | 'Manage community fields' => N_('Manage group fields'), |
67 | 'Create a new community' => N_('Create a new group'), | 67 | 'Create a new community' => N_('Create a new group'), |
68 | 'Preferred domain name:' => N_('Choose your host community:'), | 68 | 'Preferred domain name:' => N_('Choose your host community:'), |
69 | + 'My communities' => N_('My groups'), | ||
69 | }) | 70 | }) |
70 | end | 71 | end |
71 | 72 |
public/designs/icons/default/style.css
@@ -45,6 +45,7 @@ | @@ -45,6 +45,7 @@ | ||
45 | .icon-menu-community { background-image: url(community-HC.gif) } | 45 | .icon-menu-community { background-image: url(community-HC.gif) } |
46 | .icon-menu-edit { background-image: url(edit-HC.gif) } | 46 | .icon-menu-edit { background-image: url(edit-HC.gif) } |
47 | .icon-menu-ctrl-panel { background-image: url(control-HC.gif) } | 47 | .icon-menu-ctrl-panel { background-image: url(control-HC.gif) } |
48 | +.icon-menu-my-groups { background-image: url(community-HC.gif) } | ||
48 | .icon-menu-login { background-image: url(enter-HC.gif) } | 49 | .icon-menu-login { background-image: url(enter-HC.gif) } |
49 | .icon-menu-logout { background-image: url(exit-HC.gif) } | 50 | .icon-menu-logout { background-image: url(exit-HC.gif) } |
50 | .icon-menu-search { background-image: url(search-HC.gif) } | 51 | .icon-menu-search { background-image: url(search-HC.gif) } |