From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- forum/templates/revisions_answer.html | 83 +++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 forum/templates/revisions_answer.html (limited to 'forum/templates/revisions_answer.html') diff --git a/forum/templates/revisions_answer.html b/forum/templates/revisions_answer.html new file mode 100644 index 00000000..974e589c --- /dev/null +++ b/forum/templates/revisions_answer.html @@ -0,0 +1,83 @@ +{% extends "base_content.html" %} + +{% load i18n %} +{% load extra_tags %} +{% load extra_filters %} +{% load humanize %} +{% block title %}{% spaceless %}{% trans "Revision history" %}{% endspaceless %}{% endblock %} +{% block forejs %} + + + +{% endblock %} + +{% block content %} +
+ {% trans "Revision history" %} [{% trans "back" %}] +
+
+
+ {% for revision in revisions %} +
+
+
+ + + + + + + + +
{% trans + {{ revision.revision }} + {% if revision.summary %} +
{{ revision.summary }}
+ {% endif %} + {% if request.user|can_edit_post:post %} + {% trans "edit" %} + {% endif %} + +
+
+ {% post_contributor_info revision %} +
+
+
+
+
+ {{ revision.diff|safe }} +
+
+ {% endfor %} +
+
+{% endblock %} + +{% block endjs %} +{% endblock %} + -- cgit v1.2.3-1-g7c22