~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wiki/base.html

  • Committer: Holger Rapp
  • Date: 2009-02-20 12:25:18 UTC
  • Revision ID: holgerrapp@gmx.net-20090220122518-feaq34ta973snnct
Imported wikiapp into our repository, because we did some local changes (users must be logged in to edit wiki pages)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "base.html" %}
2
 
{% load i18n %}
3
 
{% load static %}
4
 
 
5
 
{% block title %}
6
 
Wiki - {{ block.super }}
7
 
{% endblock %}
8
 
 
9
 
{% block extra_head %}
10
 
{{ block.super}}
11
 
<link rel="alternate" type="application/rss+xml" title="Wiki History (RSS)" href="{% url 'wiki_history_feed_rss' %}" />
12
 
<link rel="alternate" type="application/atom+xml" title="Wiki History (Atom)" href="{% url 'wiki_history_feed_atom' %}" />
13
 
<link rel="stylesheet" type="text/css" media="all" href="{% static 'css/wiki.css' %}" />
14
 
{% endblock %}
15
 
 
16
 
{# Define all(!) tabs for the wiki here (all in one place).
17
 
We disable or change them in the subpages. #}
18
 
 
19
 
{% block content_tabbing %}
20
 
<ul class="small tab-list">
21
 
        {% if article.id %}
22
 
                <li>
23
 
                        <a {% block class_wiki_edit %}{% endblock %} href="{% url 'wiki_edit' article.title %}">{% trans "Edit this article" %}</a>
24
 
                </li>
25
 
                <li>
26
 
                        <a {% block class_wiki_back %}{% endblock %}href="{% url 'wiki_article' article.title %}">{% trans "Back to article" %}</a>
27
 
                </li>
28
 
                <li>
29
 
                        <a {% block class_wiki_hist %}{% endblock %} href="{% url 'wiki_article_history' article.title %}">{% trans "History" %}</a>
30
 
                </li>
31
 
                <li>
32
 
                        <a {% block class_wiki_backl %}{% endblock %} href="{% url 'backlinks' article.title %}">{% trans "Backlinks" %}</a>
33
 
                </li>
34
 
                <li>
35
 
                        <a {% block class_wiki_hist_atom %}{% endblock %} href="{% url 'wiki_article_history_feed_atom' article.title %}">{% trans "Atom feed" %}</a>
36
 
                </li>
37
 
 
38
 
                {% if can_observe %}
39
 
                <li>
40
 
                        {% if is_observing %} 
41
 
                        <a {% block class_wiki_stop_obs %}{% endblock %}href="{% url 'wiki_stop_observing' article.title %}">{% trans "Stop observing" %}</a>
42
 
                        {% else %}
43
 
                        <a {% block class_wiki_obs %}{% endblock %}href="{% url 'wiki_observe' article.title %}">{% trans "Observe" %}</a>
44
 
                        {% endif %}
45
 
                </li>
46
 
                {% endif %}
47
 
        {% endif %}
48
 
</ul>
49
 
{% endblock %}
 
 
b'\\ No newline at end of file'