Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/websdk/hatta/templates/history.html
diff options
context:
space:
mode:
Diffstat (limited to 'websdk/hatta/templates/history.html')
-rw-r--r--websdk/hatta/templates/history.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/websdk/hatta/templates/history.html b/websdk/hatta/templates/history.html
new file mode 100644
index 0000000..d2a4d48
--- /dev/null
+++ b/websdk/hatta/templates/history.html
@@ -0,0 +1,27 @@
+{% extends 'page.html' %}
+
+{% block meta %}<meta name="robots" content="NOINDEX, NOFOLLOW">{% endblock %}
+
+{% block page_title %}
+ <h1>{{ _("History of %(title)s", title=title) }}</h1>
+{% endblock %}
+{% block title %}{{ _("History of %(title)s", title=title) }} - {{ wiki.site_name }}{% endblock %}
+
+{% block content %}
+ <p>{{ _("History of changes for %(link)s.", link=page.wiki_link(title)|safe) }}</p>
+ <form action="{{ url(title, wiki.undo, method='POST') }}" method="POST">
+ <ul id="hatta-history">
+ {% for date, date_url, rev, author, comment in history %}
+ <li><a href="{{ date_url }}"
+ >{{ date_html(date)|safe }}</a>
+ {% if edit_url %}
+ <input type="submit" name="{{ rev }}" value="{{ _('Undo') }}">
+ {% endif %}
+ . . . .
+ <i>{{ page.wiki_link('~%s' % author, author)|safe }}</i>
+ <div class="hatta-comment">{{ comment }}</div></li>
+ {% endfor %}
+ </ul>
+ <input type="hidden" name="parent" value="{{ parent_rev }}">
+ </form>
+{% endblock %}