##// 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 <h2><%= avatar @user %> <%=h @user.name %></h2>
5 <h2><%= avatar @user %> <%=h @user.name %></h2>
6
6
7 <div class="splitcontentleft">
7 <div class="splitcontentleft">
8 <p>
9 <%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
10 <ul>
8 <ul>
11 <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
9 <% unless @user.pref.hide_mail %>
12 <% for custom_value in @custom_values %>
10 <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail)) %></li>
13 <% if !custom_value.value.empty? %>
11 <% end %>
12 <% for custom_value in @custom_values %>
13 <% if !custom_value.value.empty? %>
14 <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
14 <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
15 <% end %>
15 <% end %>
16 <% 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 </ul>
21 </ul>
18 </p>
19
22
20 <% unless @memberships.empty? %>
23 <% unless @memberships.empty? %>
21 <h3><%=l(:label_project_plural)%></h3>
24 <h3><%=l(:label_project_plural)%></h3>
General Comments 0
You need to be logged in to leave comments. Login now