# HG changeset patch # User Lennard de Rijk # Date 1229552716 0 # Node ID 59307ec93f1d345f63dbac3e386a5d596e949073 # Parent b11cee4ab535b58893d6e503ae385b44c7bf665c Added base template for notification messages. This makes the messages a bit more friendly by including a greeting and signature. Patch by: Lennard de Rijk diff -r b11cee4ab535 -r 59307ec93f1d app/soc/templates/soc/notification/messages/base.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/notification/messages/base.html Wed Dec 17 22:25:16 2008 +0000 @@ -0,0 +1,27 @@ +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} + +
+ {% block greeting %} + Hi {{ to_name }}, + {% endblock %} +
+ +
+ {% block content %}{% endblock %} +
+ +
+ {% block signature %}Greetings,
{{ sender_name }}{% endblock %} +
\ No newline at end of file diff -r b11cee4ab535 -r 59307ec93f1d app/soc/templates/soc/notification/messages/invitation.html --- a/app/soc/templates/soc/notification/messages/invitation.html Wed Dec 17 22:15:21 2008 +0000 +++ b/app/soc/templates/soc/notification/messages/invitation.html Wed Dec 17 22:25:16 2008 +0000 @@ -1,3 +1,4 @@ +{% extends "soc/notification/messages/base.html" %} {% comment %} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -11,7 +12,6 @@ See the License for the specific language governing permissions and limitations under the License. {% endcomment %} - {% block content %} You have been invited by {{ sender_name }} to become a {{ role }} for {{ group }}. Please click here to fill in the necessary information and accept the invitation.