##// END OF EJS Templates
Slight changes to profile on account page and last connexion date added....
Jean-Philippe Lang -
r2069:dfc7a9457864
parent child
Show More
@@ -5,17 +5,20
5 5 <h2><%= avatar @user %> <%=h @user.name %></h2>
6 6
7 7 <div class="splitcontentleft">
8 <p>
9 <%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
10 8 <ul>
11 <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
12 <% for custom_value in @custom_values %>
13 <% if !custom_value.value.empty? %>
9 <% unless @user.pref.hide_mail %>
10 <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail)) %></li>
11 <% end %>
12 <% for custom_value in @custom_values %>
13 <% if !custom_value.value.empty? %>
14 14 <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
15 <% end %>
16 <% end %>
15 <% end %>
16 <% end %>
17 <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
18 <% unless @user.last_login_on.nil? %>
19 <li><%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %></li>
20 <% end %>
17 21 </ul>
18 </p>
19 22
20 23 <% unless @memberships.empty? %>
21 24 <h3><%=l(:label_project_plural)%></h3>
General Comments 0
You need to be logged in to leave comments. Login now