Add plugin hooks to Users#show view

This commit is contained in:
Eric Davis 2011-06-07 14:51:19 -07:00
parent 85c7cfd0a7
commit 95b19953a4
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
<h2><%= avatar @user, :size => "50" %> <%=h @user.name %></h2>
<div class="splitcontentleft">
<%= call_hook :view_account_left_top, :user => @user %>
<ul>
<% unless @user.pref.hide_mail %>
<li><%=l(:field_mail)%>: <%= mail_to(h(escape_javascript(@user.mail)), nil, :encode => 'javascript') %></li>
@ -20,6 +21,8 @@
<% end %>
</ul>
<%= call_hook :view_account_left_middle, :user => @user %>
<% unless @memberships.empty? %>
<h3><%=l(:label_project_plural)%></h3>
<ul>