summaryrefslogtreecommitdiffstats
path: root/templates/reopen.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:15:28 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-07-10 19:15:28 -0400
commit35b666224a05fbd249b1c51a0a48fb95b246fe9a (patch)
treebfce966ce040dd849e8cc35a012d18f7632ad6b1 /templates/reopen.html
parent5b45e526c74faf55110ff0afdcba19797d7e0f4d (diff)
downloadaskbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.gz
askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.bz2
askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.zip
adding all files again
Diffstat (limited to 'templates/reopen.html')
-rw-r--r--templates/reopen.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/reopen.html b/templates/reopen.html
new file mode 100644
index 00000000..7ab59421
--- /dev/null
+++ b/templates/reopen.html
@@ -0,0 +1,40 @@
+<!-- reopen.html -->
+{% extends "base_content.html" %}
+{% load extra_tags %}
+{% load i18n %}
+{% load humanize %}
+{% block title %}{% spaceless %}{% trans "Reopen question" %}{% endspaceless %}{% endblock %}
+{% block forejs %}
+ <script type="text/javascript">
+ $().ready(function(){
+ $('#btBack').bind('click', function(){ history.back(); });
+ });
+ </script>
+{% endblock %}
+{% block content %}
+<div id="main-bar" class="headNormal">
+ {% trans "Reopen question" %}
+</div>
+<div id="main-body" style="width:100%">
+ <p>{% trans "Open the previously closed question" %}: <a href="{{ question.get_absolute_url }}"><span class="big">{{ question.get_question_title }}</span></a>
+
+ </p>
+ <p><strong>{% trans "The question was closed for the following reason " %}"{{ question.get_close_reason_display }}"{% trans "reason - leave blank in english" %} <a href="{{ question.closed_by.get_profile_url }}">{{ question.closed_by.username }}</a> {% trans "on "%} {% diff_date question.closed_at %}<font class="darkred">{% trans "date closed" %}</font>
+ </strong>
+ </p>
+
+ <form id="fmclose" action="{% url reopen question.id %}" method="post" >
+
+ <div id="" style="padding:20px 0 20px 0">
+ <input type="submit" value="{% trans "Reopen this question" %}" class="submit" />
+ <input id="btBack" type="button" value="{% trans "Cancel" %}" class="submit" />
+
+ </div>
+
+ </form>
+</div>
+{% endblock %}
+
+
+
+<!-- end reopen.html -->