~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wiki/view.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:
7
7
{% endblock %}
8
8
 
9
9
{% block extra_head %}
10
 
<link rel="alternate" type="application/rss+xml" title="Wiki History for article {{ article.title }} (RSS)" href="{% url 'wiki_article_history_feed_rss' article.title %}" />
11
 
<link rel="alternate" type="application/atom+xml" title="Wiki History for article {{ article.title }} (Atom)" href="{% url 'wiki_article_history_feed_atom' article.title %}" />
 
10
<link rel="alternate" type="application/rss+xml" title="Wiki History for article {{ article.title }} (RSS)" href="{% url 'wiki_article_history_feed' article.title "rss" %}" />
 
11
<link rel="alternate" type="application/atom+xml" title="Wiki History for article {{ article.title }} (Atom)" href="{% url 'wiki_article_history_feed' article.title "atom" %}" />
12
12
{{ block.super}}
13
13
{% endblock %}
14
14
 
15
 
{% block content_header %}
16
 
        <h1>{{ article.title }}</h1>
17
 
{% endblock %}
18
 
 
19
 
{# add the wanted classes to the tabs #}
20
 
{% block class_wiki_back %}class="hidden"{% endblock %}
21
 
{% block class_wiki_hist_atom %}class="hidden"{% endblock %}
22
 
 
23
 
{% block content_main %}
24
 
        {% if messages %}
25
 
            {% for message in messages %}
26
 
            <p class="errormessage">{{ message }}</p>
27
 
            {% endfor %}
 
15
{% block content %}
 
16
<div class="posRight small">
 
17
        {% if article.id %}
 
18
                <a class="invertedColor" href="{% url 'wiki_edit' article.title %}">{% trans "Edit this article" %}</a>
 
19
                |
 
20
                <a class="invertedColor" href="{% url 'wiki_article_history' article.title %}">{% trans "Editing history" %}</a>
 
21
                {% if can_observe %}
 
22
                        | 
 
23
                        {% if is_observing %} 
 
24
                        <a class="invertedColor" href="{% url 'wiki_stop_observing' article.title %}">{% trans "Stop observing" %}</a>
 
25
                        {% else %}
 
26
                        <a class="invertedColor" href="{% url 'wiki_observe' article.title %}">{% trans "Observe" %}</a>
 
27
                        {% endif %}
 
28
                {% endif %}
28
29
        {% endif %}
 
30
</div>
 
31
<h1>{{ article.title }}</h1>
29
32
<div class="blogEntry">
30
33
        {% if not article.id %}
31
34
                <p>