my_network.rhtml 601 Bytes
<%= block_title(title) %>

<%= render :file => 'blocks/my_network/' + owner.class.name.underscore, :locals => { :owner => owner } %>

<ul>
  <li><%= link_to(__('Homepage'), owner.url, :class => 'url') %></li>
  <li><%= link_to(_('View profile'), owner.public_profile_url) %></li>
  <% if !user.nil? and owner.organization? and user.has_permission?('edit_profile', profile) %>
    <li><%= link_to _('Control panel'), :controller => 'profile_editor' %></li>
  <% end %>
</ul>

<div class="my-network-actions">
  <%= render :file => 'blocks/profile_info_actions/' + owner.class.name.underscore %>
</div>