mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix link display
This commit is contained in:
1 parent
43d589c84d
commit
385b8f4fe6
4 files changed
+16
-8
No files matched your search
@@ -58,7 +58,7 @@
|
||||
{% if tdoc %}
|
||||
<dt>{{ _('Contest') if tdoc.docType == model.document.TYPE_CONTEST else _('Homework') }}</dt>
|
||||
<dd>
|
||||
<a href="{{ url('contest_detail', tid=tdoc.docId) if tdoc.docType == model.document.TYPE_CONTEST else url('homework_detail', tid=tdoc.docId) }}">{{ tdoc.title }}</a>
|
||||
<a href="{{ url('contest_detail' if tdoc.docType == model.document.TYPE_CONTEST else 'homework_detail', tid=tdoc.docId) }}">{{ tdoc.title }}</a>
|
||||
</dd>
|
||||
{% endif %}
|
||||
<dt>{{ _('Language') }}</dt>
|
||||
|
||||
Reference in new issue
Block a user