Commit 09a2aaf6aea7687f20cfa5429b799900c492d226

Authored by Joenio Costa
1 parent b60d857b

Do not show the "profile actions buttons" twice in MyNetworkBlock

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
app/views/blocks/my_network.html.erb
1 <%= block_title(title) %> 1 <%= block_title(title) %>
2 2
3 -<%= render_profile_actions owner.class %>  
4 -  
5 <ul> 3 <ul>
6 <li><%= link_to(_('Homepage'), owner.url, :class => 'url') %></li> 4 <li><%= link_to(_('Homepage'), owner.url, :class => 'url') %></li>
7 <li><%= link_to(_('View profile'), owner.public_profile_url) %></li> 5 <li><%= link_to(_('View profile'), owner.public_profile_url) %></li>
@@ -11,5 +9,5 @@ @@ -11,5 +9,5 @@
11 </ul> 9 </ul>
12 10
13 <div class="my-network-actions"> 11 <div class="my-network-actions">
14 - <%= render 'blocks/profile_info_actions/' + owner.class.name.underscore %> 12 + <%= render_profile_actions owner.class %>
15 </div> 13 </div>