summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
720f7b0)
Accepted answers now have a checkmark under the vote count.
I also localized the word search in opensearch.html.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@478
0cfe37f9-358a-4d5e-be75-
b63607b5c754
<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
<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
<ShortName>{{ settings.APP_SHORT_NAME }} {% trans "Search" %}</ShortName>
<Description>{% trans "Search" %} {{ settings.APP_SHORT_NAME }} {% trans "using your browser." %}</Description>
<Tags>{{ settings.APP_KEYWORDS }}</Tags>
<ShortName>{{ settings.APP_SHORT_NAME }} {% trans "Search" %}</ShortName>
<Description>{% trans "Search" %} {{ settings.APP_SHORT_NAME }} {% trans "using your browser." %}</Description>
<Tags>{{ settings.APP_KEYWORDS }}</Tags>
- <Url type="text/html" template="{{ settings.APP_URL }}/search/?q={searchTerms}&t=question"/>
+ <Url type="text/html" template="{{ settings.APP_URL }}/{% trans "search" %}/?q={searchTerms}&t=question"/>
</OpenSearchDescription>
\ No newline at end of file
</OpenSearchDescription>
\ No newline at end of file