mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
record_detail autoupdate
This commit is contained in:
1 parent
3a90e2893f
commit
c68953c59f
17 files changed
+209
-278
No files matched your search
@@ -4,7 +4,7 @@
|
||||
{% block content %}
|
||||
<script>
|
||||
var Context = {
|
||||
'socketUrl': "{{ socket_url }}",
|
||||
'socketUrl': "/record-detail-conn?rid={{ rdoc._id }}"
|
||||
};
|
||||
</script>
|
||||
<div class="row">
|
||||
@@ -57,8 +57,6 @@
|
||||
<dl class="large horizontal">
|
||||
<dt>{{ _('Submit By') }}</dt>
|
||||
<dd>{{ user.render_inline(udoc, dudoc, modbadge=false) }}</dd>
|
||||
<dt>{{ _('Type') }}</dt>
|
||||
<dd>{{ _(vj4.constant.record.TYPE_TEXTS[rdoc['type']]) }}</dd>
|
||||
{% if pdoc %}
|
||||
<dt>{{ _('Problem') }}</dt>
|
||||
<dd>
|
||||
@@ -84,13 +82,13 @@
|
||||
{% endif %}
|
||||
<dt>{{ _('Language') }}</dt>
|
||||
<dd>
|
||||
{{ vj4.constant.language.LANG_TEXTS[rdoc['lang']] }}
|
||||
{{ builtin.LANG_TEXTS[rdoc['lang']] }}
|
||||
</dd>
|
||||
<dt>
|
||||
{{ _('Submit At') }}
|
||||
</dt>
|
||||
<dd>
|
||||
{{ datetime_span(rdoc['_id'].generationTime)|safe }}
|
||||
{{ datetime_span(rdoc._id)|safe }}
|
||||
</dd>
|
||||
{% if rdoc.judgeAt %}
|
||||
<dt>{{ _('Judged At') }}</dt>
|
||||
|
||||
Reference in new issue
Block a user