mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix problem_files
This commit is contained in:
1 file changed
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
<a href="{{ url('problem_config', pid=pdoc.docId) }}" class="primary rounded button">{{ _('Config') }}</a>
|
<a href="{{ url('problem_config', pid=pdoc.docId) }}" class="primary rounded button">{{ _('Config') }}</a>
|
||||||
<button class="primary rounded button" name="create_testdata">{{ _('Create') }}</button>
|
<button class="primary rounded button" name="create_testdata">{{ _('Create') }}</button>
|
||||||
<button class="primary rounded button" name="upload_testdata">{{ _('Upload') }}</button>
|
<button class="primary rounded button" name="upload_testdata">{{ _('Upload') }}</button>
|
||||||
{% else %}
|
{% elif reference %}
|
||||||
<a href="{{ url('problem_detail', domainId=pdoc.reference.domainId, pid=pdoc.reference.pid) }}" class="primary rounded button">{{ _('Source') }}</a>
|
<a href="{{ url('problem_detail', domainId=pdoc.reference.domainId, pid=pdoc.reference.pid) }}" class="primary rounded button">{{ _('Source') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user