diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-30 13:42:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-30 13:42:15 +0000 |
commit | dfc7a9457864097f4a5a4b3abf898e0bd810caf7 (patch) | |
tree | 885539b150d5caaf2a9f53feccd8aa256ae2fbb7 | |
parent | 0399b85ab61858e593a8831039b5086444e5c7b1 (diff) | |
download | redmine-dfc7a9457864097f4a5a4b3abf898e0bd810caf7.tar.gz redmine-dfc7a9457864097f4a5a4b3abf898e0bd810caf7.zip |
Slight changes to profile on account page and last connexion date added.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2071 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/account/show.rhtml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index 8cdf98704..fe5724b88 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -5,17 +5,20 @@ <h2><%= avatar @user %> <%=h @user.name %></h2> <div class="splitcontentleft"> -<p> -<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %> <ul> - <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li> -<% for custom_value in @custom_values %> -<% if !custom_value.value.empty? %> + <% unless @user.pref.hide_mail %> + <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail)) %></li> + <% end %> + <% for custom_value in @custom_values %> + <% if !custom_value.value.empty? %> <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li> -<% end %> -<% end %> + <% end %> + <% end %> + <li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li> + <% unless @user.last_login_on.nil? %> + <li><%=l(:field_last_login_on)%>: <%= format_date(@user.last_login_on) %></li> + <% end %> </ul> -</p> <% unless @memberships.empty? %> <h3><%=l(:label_project_plural)%></h3> |