profile_image.rhtml
491 Bytes
<div class="vcard">
<div class="profile-big-image">
<div class="profile-big-image-inner1">
<span class="profile-big-image-inner2">
<%=
profile_image(block.owner, :big) +"\n"
%>
</span>
</div>
</div>
<% if !user.nil? and user.has_permission?('edit_profile', profile) %>
<div style='text-align: center; font-size: 75%; clear: both'>
<%= link_to _('Control panel'), :controller => 'profile_editor' %>
</div>
<% end %>
</div><!-- end class="vcard" -->