]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/accept_button.html
OSQA-374
[osqa.git] / forum / skins / default / templates / node / accept_button.html
index 21214913f46e7a122571d6d773b23332ea374cd9..9da66f58d54bf9b0bed82ce462d2d5123aa43b27 100644 (file)
@@ -4,4 +4,9 @@
     <a id="accept-answer-{{ answer.id }}" class="ajax-command accept-answer{% if answer.nis.accepted %} on{% endif %}"\r
         title="{% if answer.nis.accepted %}{% blocktrans with answer.accepted_by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}{% else %}{% trans "mark this answer as the accepted answer" %}{% endif %}"\r
          href="{% url accept_answer id=answer.id %}" rel="nofollow"> </a>\r
-{% endif %}
\ No newline at end of file
+{% else %}\r
+    {% if answer.nis.accepted %}\r
+        <a class="accept-answer on"></a>\r
+    {% endif %}\r
+{% endif %}\r
+\r