mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: problem_detail: better display
This commit is contained in:
1 parent
5b92200108
commit
09db5a9108
2 files changed
+4
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.8.21",
|
||||
"version": "4.8.22",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -29,13 +29,11 @@
|
||||
<h1 class="section__title">
|
||||
{% if rdoc %}
|
||||
<a href="{{ url('record_detail', {rid:rdoc._id}) }}">
|
||||
<span class="icon record-status--icon {{ model.builtin.STATUS_CODES[rdoc['status']] }}"></span>
|
||||
<span class="record-status--text {{ model.builtin.STATUS_CODES[rdoc['status']] }}">
|
||||
{{ model.builtin.STATUS_TEXTS[rdoc.status] }}{% if rdoc.status != model.builtin.STATUS.STATUS_ACCEPTED %} {{ rdoc.score }}{% endif %}
|
||||
</span>
|
||||
<span class="icon record-status--icon {{ model.builtin.STATUS_CODES[rdoc['status']] }}"></span>
|
||||
<span class="record-status--text {{ model.builtin.STATUS_CODES[rdoc['status']] }}">{{ rdoc.score }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
#{{ pdoc.docId }}. {{ pdoc.title }}
|
||||
#{{ pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
||||
</h1>
|
||||
</div>
|
||||
<div class="section__body">
|
||||
|
||||
Reference in new issue
Block a user