Commit 870d43a97b128c31d492412e50d13c8fb11c1536
1 parent
353a2426
Exists in
master
and in
29 other branches
ActionItem630: added a create community button
in the community search page git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2423 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
app/views/search/communities.rhtml
... | ... | @@ -11,4 +11,11 @@ |
11 | 11 | |
12 | 12 | <%= pagination_links @results.values.first %> |
13 | 13 | |
14 | + | |
15 | +<% if logged_in? %> | |
16 | + <% button_bar do %> | |
17 | + <%= button(:add, _('New community'), :controller => 'memberships', :action => 'new_community', :profile => current_user.person.identifier) %> | |
18 | + <% end %> | |
19 | +<% end %> | |
20 | + | |
14 | 21 | <br style="clear:both" /> | ... | ... |