Project

General

Profile

Patch #2197 » account_show.rhtml.diff

Anh Kỳ Huỳnh, 2008-11-15 17:45

View differences:

app/views/account/show.rhtml (working copy)
<h2><%= avatar @user %> <%=h @user.name %></h2>
<p>
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
<%= mail_to(h(@user.mail.sub('@','__@_'))) unless @user.pref.hide_mail %>
<ul>
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>
<% for custom_value in @custom_values %>
    (1-1/1)