Added missing role_verbose.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- 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 %}