# HG changeset patch # User Sverre Rabbelier # Date 1237640832 0 # Node ID a8810c038500abcc4e50c2e9538af468962997a2 # Parent 2dab2aac313d1c5a97d2835c07c516f805d29ca1 Use the new as_email tag for user profile Patch by: Sverre Rabbelier diff -r 2dab2aac313d -r a8810c038500 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 }} <{{ account.email }}> +Modify Existing User Profile for {{ user.name }} ({% as_email account %}) {% else %} -Create a New User Profile for <{{ account.email }}> +Create a New User Profile for {% as_email account %} {% endif %} {% endblock %} + {% block body %}