Commit c456fe2231fac30e8b14a787bb7bc8c72ad2c8ce

Authored by Braulio Bhavamitra
2 parents b60d857b 09a2aaf6

Merge branch 'master' into 'master'

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

See merge request !453
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>