Added missing role_verbose.
authorLennard de Rijk <ljvderijk@gmail.com>
Fri, 23 Jan 2009 11:38:24 +0000
changeset 917 fb82d4357552
parent 916 f18c0a56da8b
child 918 295c0d4f6d98
Added missing role_verbose. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/logic/models/club.py
app/soc/templates/soc/notification/messages/invitation.html
--- a/app/soc/logic/models/club.py	Fri Jan 23 11:36:55 2009 +0000
+++ b/app/soc/logic/models/club.py	Fri Jan 23 11:38:24 2009 +0000
@@ -56,6 +56,7 @@
           'scope': entity,
           'scope_path': entity.key().name(),
           'role': 'club_admin',
+          'role_verbose' : 'Club Admin',
           'group_accepted': True,
           }
 
--- a/app/soc/templates/soc/notification/messages/invitation.html	Fri Jan 23 11:36:55 2009 +0000
+++ b/app/soc/templates/soc/notification/messages/invitation.html	Fri Jan 23 11:38:24 2009 +0000
@@ -13,6 +13,6 @@
 limitations under the License.
 {% endcomment %}
 {% block content %}
-You have been invited by {{ sender_name }} to become a {{ role }} for {{ group }}.
+You have been invited by {{ sender_name }} to become a {{ role_verbose }} for {{ group }}.
 Please click <a href="{{ invitation_url }}">here</a> to fill in the necessary information and accept the invitation.
 {% endblock %}