# HG changeset patch # User Sverre Rabbelier # Date 1235735292 0 # Node ID 60e0a164a8673fd23c7040ffec3d591bee8ec428 # Parent 9de71e8890e7c55d9540da4b081e28b682cd3e37 Inform the user that the link_id cannot be changed Hide the extended help text once the user has created a profile, since the link_id can no longer be changed. Also moved the link_id to the top of the screen, to make it look better when the extended help text is not shown. Patch by: Sverre Rabbelier diff -r 9de71e8890e7 -r 60e0a164a867 app/soc/templates/soc/user/edit_profile.html --- a/app/soc/templates/soc/user/edit_profile.html Fri Feb 27 11:38:24 2009 +0000 +++ b/app/soc/templates/soc/user/edit_profile.html Fri Feb 27 11:48:12 2009 +0000 @@ -30,6 +30,25 @@

+ {% field_as_table_row form.link_id %} +{% if not user %} + + + + + {% else %} + + + {% endif %} + {% field_as_table_row form.name %} - {% field_as_table_row form.link_id %} - - - - - {% if tos_link %} {% if not user.agreed_to_tos %}
+This Link ID is used throughout the site when creating various URL +links related to you and content you create. As a result, it may only +consist of lower ASCII characters, digits, and underscores. Also, it must +be unique and not in use by any other user of the site.
+
+
The Link ID can NOT be changed.
+
+
 
@@ -45,17 +64,6 @@
 
-This Link ID is used throughout the site when creating various URL -links related to you and content you create. As a result, it may only -consist of lower ASCII characters, digits, and underscores. Also, it must -be unique and not in use by any other user of the site. -