]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/static_pages.html
Adds the option to create static pages with several options to customize its behaviour.
[osqa.git] / forum / skins / default / templates / osqaadmin / static_pages.html
1 {% extends basetemplate %}
2
3 {% load i18n %}
4
5 {% block subtitle %}{% trans "Static pages" %}{% endblock %}
6 {% block pagename %}{% trans "Static pages" %}{% endblock %}
7 {% block description %}{% trans "Allows you to create a set of static pages" %}{% endblock %}
8
9 {% block admincontent %}
10     <h1>{% trans "Select page to edit" %}</h1>
11     <ul class="object-tools">
12         <li><a class="addlink" href="{% url admin_new_page %}">{% trans "New page" %}</a></li>
13     </ul>
14     <div class="module">
15         <table style="width: 100%">
16             <caption>{% trans "Pages" %}</caption>
17             <tbody>
18                 {% for page in pages %}
19                     <tr>
20                         <th scope="row"><a href="{% url admin_edit_page id=page.id %}">{{ page.headline }}</a></th>
21                         <td><a class="changelink" href="{% url admin_edit_page id=page.id %}">{% trans "Edit" %}</a></td>
22                     </tr>
23                 {% endfor %}
24             </tbody>
25         </table>
26     </div>
27
28 {% endblock %}