ui: bug fix

This commit is contained in:
undefined committed 2022-09-06 16:02:06 +08:00
1 parent f72209beb5
commit b34ed2d5a2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.40.1", "version": "4.40.2",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",
@@ -21,7 +21,7 @@
* *
{% endif %} {% endif %}
{% if rdoc.files.hack %}<span class="text-orange">({{ _('Hack') }})</span>{% endif %} {% if rdoc.files.hack %}<span class="text-orange">({{ _('Hack') }})</span>{% endif %}
{% elif rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %}<span class="text-orange">({{ _('Pretest') }})</span>{% endif %} {% if rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %}<span class="text-orange">({{ _('Pretest') }})</span>{% endif %}
</td> </td>
<td class="col--submit-by"> <td class="col--submit-by">
<a href="{{ url('user_detail', uid=rdoc.uid) }}"> <a href="{{ url('user_detail', uid=rdoc.uid) }}">