diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-09 16:48:38 -0500 |
commit | 3c4c71fc19865bfb75231c425fae31c6b2c211de (patch) | |
tree | 535fc16fef76b1e89e136c3e4a0947fe8613fe01 /forum/templates/reopen.html | |
parent | bdf1cc4f9dd3f0ac06ba1af3c7d35c72cc358297 (diff) | |
download | askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.gz askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.bz2 askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.zip |
started working towards skinning forum app - first step - move templates to app
Diffstat (limited to 'forum/templates/reopen.html')
-rw-r--r-- | forum/templates/reopen.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/forum/templates/reopen.html b/forum/templates/reopen.html new file mode 100644 index 00000000..37fb69c1 --- /dev/null +++ b/forum/templates/reopen.html @@ -0,0 +1,37 @@ +{% extends "base_content.html" %} +<!-- reopen.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 --> |