mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
Hello Typescript!
This commit is contained in:
1 parent
c9b6412527
commit
ba03d7a7bf
98 files changed
+3186
-2616
No files matched your search
@@ -47,7 +47,7 @@
|
||||
{{ _('Open Since') }}: {{ datetimeSpan(tdoc['beginAt'])|safe }}
|
||||
</li>
|
||||
<li>
|
||||
{% if model.contest.isHomeworkExtended(tdoc) or model.contest.isDone(tdoc) %}
|
||||
{% if model.contest.isExtended(tdoc) or model.contest.isDone(tdoc) %}
|
||||
{{ _('Hard Deadline') }}: {{ datetimeSpan(tdoc['endAt'])|safe }}
|
||||
{% else %}
|
||||
{{ _('Deadline') }}: {{ datetimeSpan(tdoc['penaltySince'])|safe }}
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@
|
||||
{{ _('Open Since') }}: {{ datetimeSpan(tdoc['beginAt'])|safe }}
|
||||
</li>
|
||||
<li>
|
||||
{% if model.contest.isHomeworkExtended(tdoc) or model.contest.isDone(tdoc) %}
|
||||
{% if model.contest.isExtended(tdoc) or model.contest.isDone(tdoc) %}
|
||||
{{ _('Hard Deadline') }}: {{ datetimeSpan(tdoc['endAt'])|safe }}
|
||||
{% else %}
|
||||
{{ _('Deadline') }}: {{ datetimeSpan(tdoc['penaltySince'])|safe }}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{% endif %}
|
||||
<div>
|
||||
<ol class="menu">
|
||||
{% if model.contest.isOngoing(tdoc) or model.contest.isHomeworkExtended(tdoc) %}
|
||||
{% if model.contest.isOngoing(tdoc) or model.contest.isExtended(tdoc) %}
|
||||
{% if page_name == 'homework_detail_problem' %}
|
||||
<li class="menu__item scratchpad--hide"><a class="menu__link highlight" name="problem-sidebar__open-scratchpad" href="javascript:;" data-global-hotkey="alt+e">
|
||||
<span class="icon icon-enlarge"></span> {{ _('Open Scratchpad') }} (Alt+E)
|
||||
|
||||
Reference in new issue
Block a user