From 870d43a97b128c31d492412e50d13c8fb11c1536 Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Wed, 27 Aug 2008 23:00:45 +0000 Subject: [PATCH] ActionItem630: added a create community button --- app/views/search/communities.rhtml | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/app/views/search/communities.rhtml b/app/views/search/communities.rhtml index 52817b2..a178f9c 100644 --- a/app/views/search/communities.rhtml +++ b/app/views/search/communities.rhtml @@ -11,4 +11,11 @@ <%= pagination_links @results.values.first %> + +<% if logged_in? %> + <% button_bar do %> + <%= button(:add, _('New community'), :controller => 'memberships', :action => 'new_community', :profile => current_user.person.identifier) %> + <% end %> +<% end %> +
-- libgit2 0.21.2