summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/reopen.html
blob: d68e8bdc14a059f3947c286639a66d37d3d94111 (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
{% extends "two_column_body.html" %}
<!-- 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() }}</span>
    </a>
</p>
<p>{% trans %}This question has been closed by 
    <a href="{{closed_by_profile_url}}">{{closed_by_username}}</a>
{% endtrans %}
</p>
<p>
    {% trans %}Close reason:{% endtrans %} "<strong>{{question.get_close_reason_display()}}</strong>".
</p>
<p>
    {% trans %}When:{% endtrans %} {{question.closed_at|diff_date}}
</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" />&nbsp;
        <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 -->