Commit 546aa70442bc9f087f00caeec0f26e778bae0811

Authored by AntonioTerceiro
1 parent 0c1fbf2a

ActionItem154: adding actions related to profiles in ProfileInfoBlock


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1372 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/blocks/profile_info.rhtml
... ... @@ -8,3 +8,7 @@
8 8 <li><%= link_to _('View profile'), block.owner.public_profile_url %></li>
9 9 </ul>
10 10  
  11 +<div class='profile-info-options'>
  12 + <%= render :file => 'blocks/profile_info_actions/' + block.owner.class.name.underscore %>
  13 +</div>
  14 +
... ...
app/views/blocks/profile_info_actions/community.rhtml 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +<ul>
  2 + <li><%= link_to _('Join this community') %></li>
  3 +</ul>
... ...
app/views/blocks/profile_info_actions/enterprise.rhtml 0 → 100644
app/views/blocks/profile_info_actions/organization.rhtml 0 → 100644
app/views/blocks/profile_info_actions/person.rhtml 0 → 100644