mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: update pid display
This commit is contained in:
1 parent
a6f48233d1
commit
f4127a806a
4 files changed
+14
-9
No files matched your search
@@ -46,7 +46,9 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<td class="col--problem col--problem-name">
|
||||
{{ problem.render_problem_title(pdict[pid], tdoc=tdoc, show_invisible_flag=false, show_tags=false) }}
|
||||
<a href="{{ url('problem_detail', pid=pid, query={tid:tdoc.docId}) }}">
|
||||
<b>{{ String.fromCharCode(65+loop.index0) }}</b> {{ pdict[pid].title }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{%- endfor -%}
|
||||
@@ -54,10 +56,12 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="section">
|
||||
<div class="section__body no-padding">
|
||||
{% if not rdocs.length %}
|
||||
{{ nothing.render('Oh, there is no task in the queue!') }}
|
||||
{% if not canViewRecord %}
|
||||
{{ nothing.render('According to the contest rules, you cannot view your submission details at current.') }}'
|
||||
{% elif not rdocs.length %}
|
||||
{{ nothing.render('Oh, there is no submission!') }}
|
||||
{% else %}
|
||||
<table class="data-table record_main__table">
|
||||
<colgroup>
|
||||
@@ -93,8 +97,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="medium-3 columns">
|
||||
{% set owner_udoc = udict[tdoc.owner] %}
|
||||
{% include "partials/contest_sidebar.html" %}
|
||||
{% set owner_udoc = udict[tdoc.owner] %}
|
||||
{% include "partials/contest_sidebar.html" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -44,7 +44,7 @@
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
#{{ pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
||||
#{{ String.fromCharCode(65+tdoc.pids.indexOf(pdoc.docId)) if tdoc else pdoc.pid|default(pdoc.docId) }}. {{ pdoc.title }}
|
||||
</h1>
|
||||
{% if tdoc %}
|
||||
<div class="section__tools contest-problems">
|
||||
|
||||
Reference in new issue
Block a user