mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: add show source button
This commit is contained in:
2 files changed
+3
No files matched your search
@@ -861,6 +861,7 @@ Sorry, there are no users in this domain.: 对不起,此域中没有用户。
|
|||||||
Sorry: 对不起
|
Sorry: 对不起
|
||||||
Sort by: 排序
|
Sort by: 排序
|
||||||
Source type: 来源类型
|
Source type: 来源类型
|
||||||
|
Source: 来源
|
||||||
Standard mode: 标准模式
|
Standard mode: 标准模式
|
||||||
Standard Program: 标准程序
|
Standard Program: 标准程序
|
||||||
Star Topic: 收藏讨论
|
Star Topic: 收藏讨论
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
<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 %}
|
||||||
|
<a href="{{ url('problem_detail', domainId=pdoc.reference.domainId, pid=pdoc.reference.pid) }}" class="primary rounded button">{{ _('Source') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user