~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wiki/view.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:
3
3
{% load wiki %}
4
4
 
5
5
{% block title %}
6
 
    {{ article.title }}
 
6
{{ article.title }} - Wiki - {{block.super}}
7
7
{% endblock %}
8
8
 
9
9
{% block content %}
10
 
        <h1><a href="{{ article.get_absolute_url }}" rel="bookmark">{{ article.title }}</a></h1>
11
 
 
12
 
        {% if not article.id %}
13
 
                <p>{% trans "This article does not exist." %}
14
 
          <a href="{% url wiki_edit article.title %}" {% trans ">Create it now</a>?" %}</p>
15
 
        {% endif %}
16
 
 
17
 
    {% render_content article %}
18
 
 
19
 
{% endblock %}
20
 
 
21
 
{% block footer %}
 
10
   <div align="right">
22
11
        {% if article.id %}
23
12
                <a href="{% url wiki_edit article.title %}">{% trans "Edit this article" %}</a>
24
13
        |
26
15
        {% else %}
27
16
                <a href="{% url wiki_edit article.title %}">{% trans "Create this article" %}</a>
28
17
        {% endif %}
29
 
    |
 
18
   </div>
 
19
        {% if not article.id %}
 
20
                <p>{% trans "This article does not exist." %}
 
21
          <a href="{% url wiki_edit article.title %}" {% trans ">Create it now</a>?" %}</p>
 
22
        {% endif %}
 
23
 
 
24
    {% render_content article %}
 
25
 
30
26
{% endblock %}
 
27