app/soc/templates/soc/notification/messages/base.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 16 Mar 2009 17:58:55 +0000
changeset 1891 563d6e544011
parent 1886 660bdc99239c
child 1892 51cdacd67ef1
permissions -rw-r--r--
Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     1
{% comment %}
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     2
Licensed under the Apache License, Version 2.0 (the "License");
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     3
you may not use this file except in compliance with the License.
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     4
You may obtain a copy of the License at
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     5
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     6
  http://www.apache.org/licenses/LICENSE-2.0
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     7
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     8
Unless required by applicable law or agreed to in writing, software
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
     9
distributed under the License is distributed on an "AS IS" BASIS,
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    10
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    11
See the License for the specific language governing permissions and
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    12
limitations under the License.
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    13
{% endcomment %}
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    14
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    15
<div id="greeting">
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    16
  <p>
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    17
	{% block greeting %}
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    18
	Hi {{ to_name }},
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    19
	{% endblock %}
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    20
  </p>
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    21
</div>
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    22
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    23
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    24
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    25
<div id="content">
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    26
  <p>
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    27
	{% block content %}{% endblock %}
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    28
  </p>
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    29
</div>
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    30
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    31
<div id="signature">
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    32
  <p>
1886
660bdc99239c Changed line-endings in notifications base template.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 758
diff changeset
    33
	{% block signature %}Greetings, <br />{{ sender_name }}{% endblock %}
1891
563d6e544011 Make the notifications look less bloated by not adhering to the linebreaks in the template but only to the HTML in them.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1886
diff changeset
    34
  </p>
758
59307ec93f1d Added base template for notification messages.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    35
</div>