Add plugin hooks to Users#show view
This commit is contained in:
parent
85c7cfd0a7
commit
95b19953a4
|
@ -5,6 +5,7 @@
|
||||||
<h2><%= avatar @user, :size => "50" %> <%=h @user.name %></h2>
|
<h2><%= avatar @user, :size => "50" %> <%=h @user.name %></h2>
|
||||||
|
|
||||||
<div class="splitcontentleft">
|
<div class="splitcontentleft">
|
||||||
|
<%= call_hook :view_account_left_top, :user => @user %>
|
||||||
<ul>
|
<ul>
|
||||||
<% unless @user.pref.hide_mail %>
|
<% unless @user.pref.hide_mail %>
|
||||||
<li><%=l(:field_mail)%>: <%= mail_to(h(escape_javascript(@user.mail)), nil, :encode => 'javascript') %></li>
|
<li><%=l(:field_mail)%>: <%= mail_to(h(escape_javascript(@user.mail)), nil, :encode => 'javascript') %></li>
|
||||||
|
@ -20,6 +21,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<%= call_hook :view_account_left_middle, :user => @user %>
|
||||||
|
|
||||||
<% unless @memberships.empty? %>
|
<% unless @memberships.empty? %>
|
||||||
<h3><%=l(:label_project_plural)%></h3>
|
<h3><%=l(:label_project_plural)%></h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue