Use the new as_email tag for user profile
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 21 Mar 2009 13:07:12 +0000
changeset 1978 a8810c038500
parent 1977 2dab2aac313d
child 1979 365f6a145223
Use the new as_email tag for user profile Patch by: Sverre Rabbelier
app/soc/templates/soc/user/edit_profile.html
--- a/app/soc/templates/soc/user/edit_profile.html	Sat Mar 21 13:06:32 2009 +0000
+++ b/app/soc/templates/soc/user/edit_profile.html	Sat Mar 21 13:07:12 2009 +0000
@@ -12,15 +12,19 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 {% endcomment %}
+
 {% load forms_helpers %}
+
 {% block page_title %}User Profile{% endblock %}
+
 {% block header_title %}
 {% if user %}
-Modify Existing User Profile for {{ user.name }} <a href="mailto:{{ account.email }} ">&lt;{{ account.email }}&gt;</a>
+Modify Existing User Profile for {{ user.name }} ({% as_email account %})</a>
 {% else %}
-Create a New User Profile for <a href="mailto:{{ account.email }} ">&lt;{{ account.email }}&gt;</a>
+Create a New User Profile for {% as_email account %}</a>
 {% endif %}
 {% endblock %}
+
 {% block body %}
 <p>
 <p>