blob: 4ddd6f31a9248faf93b5eed73121b1232044ad4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% extends "two_column_body.html" %}
{% from "macros.html" import timeago %}
<!-- reopen.html -->
{% block title %}{% spaceless %}{% trans %}Reopen question{% endtrans %}{% endspaceless %}{% endblock %}
{% block content %}
<h1>{% trans %}Reopen question{% endtrans %}</h1>
<p>{% trans %}Title{% endtrans %}:
<a href="{{ question.get_absolute_url() }}">
<span class="big">{{ question.get_question_title()|escape }}</span>
</a>
</p>
<p>{% trans username = closed_by_username|escape %}This question has been closed by
<a href="{{closed_by_profile_url}}">{{username}}</a>
{% endtrans %}
</p>
<p>
{% trans %}Close reason:{% endtrans %} "<strong>{{question.thread.get_close_reason_display()}}</strong>".
</p>
<p>
{% trans %}When:{% endtrans %} {{ timeago(question.thread.closed_at) }}
</p>
<p>
{% trans %}Reopen this question?{% endtrans %}
</p>
<form id="fmclose" action="{% url reopen question.id %}" method="post" >{% csrf_token %}
<div id="" style="padding:20px 0 20px 0">
<input type="submit" value="{% trans %}Reopen this question{% endtrans %}" class="submit" />
<input id="btBack" type="button" value="{% trans %}Cancel{% endtrans %}" class="submit" />
</div>
</form>
{% endblock %}
{% block endjs %}
<script type="text/javascript">
$().ready(function(){
$('#btBack').bind('click', function(){ history.back(); });
});
</script>
{% endblock %}
<!-- end reopen.html -->
|