# HG changeset patch # User Lennard de Rijk # Date 1256577901 25200 # Node ID 4b5a7e5746a0245d4a772b06ff1448f229534a1f # Parent 9b1d389be2cef319e05e65308a9b58a4629eebac Now showing the message contained in Requests on the correct pages. Note that facilities to edit your message, and to perhaps change the message when accepting a request still need to be provided. Fixes Issue 385. diff -r 9b1d389be2ce -r 4b5a7e5746a0 app/soc/templates/soc/request/process_invite.html --- a/app/soc/templates/soc/request/process_invite.html Mon Oct 26 10:15:28 2009 -0700 +++ b/app/soc/templates/soc/request/process_invite.html Mon Oct 26 10:25:01 2009 -0700 @@ -15,12 +15,21 @@ {% load forms_helpers %} {% block body %} + +You have been invited to become a {{ role_name }} for {{ entity.group.name }}.
+ +{% if entity.message %}

- -You have been invited to become a {{ role_name }} for {{ entity.group.name }}. -Please select your response. +Invitation Message:
+{{entity.message|linebreaks }} +

+{% endif %} + +

+If you wish to accept this invitation please click the Accept button and fill out the required information. +If you wish to reject this invitation please click the Reject button, this invitation will then disappear from your invitation list. +

-

diff -r 9b1d389be2ce -r 4b5a7e5746a0 app/soc/templates/soc/request/process_request.html --- a/app/soc/templates/soc/request/process_request.html Mon Oct 26 10:15:28 2009 -0700 +++ b/app/soc/templates/soc/request/process_request.html Mon Oct 26 10:25:01 2009 -0700 @@ -20,6 +20,14 @@ {% ifnotequal request_status "group_accepted" %} This is the request from {{ entity.user.name }}({{ entity.user.link_id }}) to become a {{ role_verbose }} for {{entity.group.name }}.
+ + {% if entity.message %} +

+ Request Message: + {{ entity.message|linebreaks }} +

+ {% endif %} + Please select your response by using the buttons below.