]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/node/accept_button.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / node / accept_button.html
1 {% load i18n %}
2
3 {% if can_accept %}
4     <a id="accept-answer-{{ answer.id }}" class="ajax-command accept-answer{% if answer.nis.accepted %} on{% endif %}"
5       title=" {% if answer.nis.accepted %}
6               {% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}
7               {% else %}
8                 {% trans "mark this answer as the accepted answer" %}
9               {% endif %}"
10               bn:on="{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}"
11               bn:off="{% trans "mark this answer as the accepted answer" %}"
12        href="{% url "accept_answer" id=answer.id %}" rel="nofollow">
13     </a>
14 {% else %}
15     {% if answer.nis.accepted %}
16       <a class="accept-answer on"
17         title="{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}"
18         href="{% url "accept_answer" id=answer.id %}" rel="nofollow">
19       </a>
20     {% endif %}
21 {% endif %}
22