annotate examples/bench/django/templates/template.html @ 891:b40dbfee9ba6

Removed some obsolete/unused code from the i18n filter.
author cmlenz
date Wed, 21 Apr 2010 07:38:37 +0000
parents 8dd0d34a9fb7
children
rev   line source
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
1 {% extends "base.html" %}
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
2 {% load bench %}
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
3
400
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
4 {% block content %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
5 <head>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
6 <title>{{title|escape}}</title>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
7 </head>
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
8
400
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
9 <body>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
10 {% block header %}{% endblock %}
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
11
400
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
12 <div>{% greeting user %}</div>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
13 <div>{% greeting "me" %}</div>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
14 <div>{% greeting "world" %}</div>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
15
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
16 <h2>Loop</h2>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
17 {% if items %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
18 <ul>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
19 {% for item in items %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
20 <li{% if forloop.last %} class="last"{% endif %}>{{ item|escape }}</li>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
21 {% endfor %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
22 </ul>
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
23 {% endif %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
24
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
25 {% block footer %}{% endblock %}
8dd0d34a9fb7 Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
cmlenz
parents: 76
diff changeset
26 </body>
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents:
diff changeset
27 {% endblock %}
Copyright (C) 2012-2017 Edgewall Software