blob: c782d9adc4b88534f1d0eb134837179dae629618 (
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
|
<a
id="post-{{question.id}}-delete"
class="question-delete"
>{% if question.deleted %}{% trans %}undelete{% endtrans %}{% else %}{% trans %}delete{% endtrans %}{% endif %}</a>
{% if thread.closed %}
<a class="question-close" href="{% url reopen question.id %}">{% trans %}reopen{% endtrans %}</a>
{% else %}
<a class="question-close" href="{% url close question.id %}">{% trans %}close{% endtrans %}</a>
{% endif %}
{% if question.offensive_flag_count > 0 %}
<span
id="question-offensive-remove-flag-{{ question.id }}"
class="offensive-flag"
title="{% trans %}report as offensive (i.e containing spam, advertising, malicious text, etc.){% endtrans %}"
>
<a class="question-flag">{% trans %}remove flag{% endtrans %}</a>
</span>
<span
id="question-offensive-flag-{{ question.id }}" class="offensive-flag"
title="{% trans %}report as offensive (i.e containing spam, advertising, malicious text, etc.){% endtrans %}"
>
<a class="question-flag">{% trans %}flag offensive{% endtrans %} ({{ question.offensive_flag_count }})</a>
</span>
{% else %}
<span
id="question-offensive-flag-{{ question.id }}" class="offensive-flag"
title="{% trans %}report as offensive (i.e containing spam, advertising, malicious text, etc.){% endtrans %}"
>
<a class="question-flag">{% trans %}flag offensive{% endtrans %}</a>
</span>
{% endif %}
<script type="text/javascript">
var retagUrl = "{% url retag_question question.id %}";
</script>
<a id="retag" class="question-retag"href="{% url retag_question question.id %}">{% trans %}retag{% endtrans %}</a>
<a id="post-{{question.id}}-edit" class="question-edit" href="{% url edit_question question.id %}">{% trans %}edit{% endtrans %}</a>
<script type="text/javascript">
askbot['functions']['renderPostControls']('{{question.id}}');
</script>
|