~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/sphinxdoc/documentation.html

  • Committer: franku
  • Date: 2016-04-18 13:29:23 UTC
  • mto: This revision was merged to the branch mainline in revision 409.
  • Revision ID: somal@arcor.de-20160418132923-bfzkb5mvdr7l8mz4
added migrations to each app

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends 'sphinxdoc/base.html' %}
 
2
 
 
3
{% block title %}
 
4
{{ app.name }} - {{ block.super }}
 
5
{% endblock %}
 
6
 
 
7
{% block content %}
 
8
<h1>Documentation: {{ app.name }}</h1>
 
9
<div class="blogEntry">
 
10
        <a href="/docs/">Documentation</a> 
 
11
        » <a href="{{ app.get_absolute_url }}">{{ app.name }}</a>
 
12
        {% for p in doc.parents %}
 
13
        » <a href="{{ p.link }}">{{ p.title|safe }}</a>
 
14
        {% endfor %}
 
15
        » {{ doc.title|safe }}
 
16
        {% if doc.prev or doc.next %}
 
17
        <br /><br />
 
18
        <div class="posLeft">
 
19
                {% if doc.prev %}
 
20
                Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
 
21
                {% endif %}
 
22
        </div>
 
23
        <div class="posRight">
 
24
                {% if doc.next %}
 
25
                Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
 
26
                {% endif %}
 
27
        </div>
 
28
        {% endif %}
 
29
 
 
30
        <br /><br />
 
31
 
 
32
        <div class="sphinx">
 
33
                {% block doc_body %}
 
34
                {{ doc.body|safe }}    
 
35
                {% endblock %}
 
36
        </div>
 
37
 
 
38
        <br />
 
39
 
 
40
        <div class="pagination-bottom">
 
41
                {% if doc.prev or doc.next %}
 
42
                <div class="posLeft">
 
43
                        {% if doc.prev %}
 
44
                        Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
 
45
                        {% endif %}
 
46
                </div>
 
47
                <div class="posRight">
 
48
                        {% if doc.next %}
 
49
                        Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
 
50
                        {% endif %}
 
51
                </div>
 
52
                <br />
 
53
                {% endif %}
 
54
                <hr />
 
55
                <span class="small">Last update: {{ update_date|date:"Y-m-d H:i" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=37">CET</a>)</span>
 
56
        </div>
 
57
</div>
 
58
{% endblock content %}