]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/reopen.html
Prevent XSS attacks with wmd using the google-caja html sanitizer.
[osqa.git] / forum / skins / default / templates / reopen.html
1 {% extends "base_content.html" %}
2 <!-- reopen.html -->
3 {% load extra_tags %}
4 {% load i18n %}
5 {% load humanize %}
6 {% block title %}{% spaceless %}{% trans "Reopen question" %}{% endspaceless %}{% endblock %}
7 {% block forejs %}
8        <script type="text/javascript">
9         $().ready(function(){
10             $('#btBack').bind('click', function(){ history.back(); });
11         });
12         </script>
13 {% endblock %}
14 {% block content %}
15 <div id="main-bar" class="headNormal">
16         {% trans "Reopen question" %}
17 </div>
18 <div id="main-body" style="width:100%">
19     <p>{% trans "Open the previously closed question" %}: <a href="{{ question.get_absolute_url }}"><span class="big">{{ question.headline }}</span></a>
20     
21     </p>   
22     <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>
23         </strong>
24     </p>
25     
26     <form id="fmclose" action="{% url reopen question.id %}" method="post">
27         {% csrf_token %}
28         <div id="" style="padding:20px 0 20px 0">
29             <input type="submit" value="{% trans "Reopen this question" %}" class="submit" />
30             <input id="btBack" type="button" value="{% trans "Cancel" %}"  class="submit"  />
31         </div>
32     </form>
33 </div>
34 {% endblock %}
35 <!-- end reopen.html -->