Commit 326a7bd6c5011bb65cb90c7f1b8bf8ba70408bfb

Authored by Antonio Terceiro
2 parents 30b2a8e5 1e0c8ccd

Merge commit 'refs/merge-requests/200' of git://gitorious.org/noosfero/noosfero …

…into merge-requests/200
app/views/friends/index.rhtml
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 :class => 'button icon-remove', 31 :class => 'button icon-remove',
32 :title => _('remove') %> 32 :title => _('remove') %>
33 <%= link_to content_tag('span',_('contact')), 33 <%= link_to content_tag('span',_('contact')),
34 - friend.url.merge(:controller => 'contact', :action => 'new'), 34 + friend.url.merge(:controller => 'contact', :action => 'new', :profile => friend.identifier),
35 :class => 'button icon-menu-mail', 35 :class => 'button icon-menu-mail',
36 :title => _('contact') %> 36 :title => _('contact') %>
37 </div><!-- end class="controll" --> 37 </div><!-- end class="controll" -->
app/views/search/communities.rhtml
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <% if logged_in? %> 4 <% if logged_in? %>
5 <% button_bar do %> 5 <% button_bar do %>
6 <%# FIXME shouldn't the user create the community in the current environment instead of going to its home environment? %> 6 <%# FIXME shouldn't the user create the community in the current environment instead of going to its home environment? %>
7 - <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community')) %> 7 + <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community', :profile => user.identifier)) %>
8 <% end %> 8 <% end %>
9 <% end %> 9 <% end %>
10 10