Skip to content

Commit

Permalink
[bugfix,user/read][xs]: hide email address on user page.
Browse files Browse the repository at this point in the history
  • Loading branch information
rufuspollock committed Feb 22, 2012
1 parent 707297e commit 901282c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ckan/templates/user/read.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
<dl class="vcard">
<dt>Name</dt>
<dd>${c.user_dict['fullname'] or 'No name provided'}</dd>
<dt>Member since</dt>
<dd>${h.render_datetime(c.user_dict['created'])}</dd>
<py:if test="unicode(c.about_formatted)">
<dt>About</dt>
<dd>${c.about_formatted}</dd>
</py:if>
<py:if test="c.is_myself">
<dt>Email</dt>
<dd>
<py:if test="c.user_dict['email']">
Expand All @@ -30,13 +37,6 @@
No email
</py:if>
</dd>
<dt>Member since</dt>
<dd>${h.render_datetime(c.user_dict['created'])}</dd>
<py:if test="unicode(c.about_formatted)">
<dt>About</dt>
<dd>${c.about_formatted}</dd>
</py:if>
<py:if test="c.is_myself">
<!--checkpoint:is-myself-->
<dt>API Key</dt>
<dd>
Expand Down

0 comments on commit 901282c

Please sign in to comment.