mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: use Files instead of Additional Files
This commit is contained in:
1 parent
b6a23bc9db
commit
465a80d617
4 files changed
+3
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.39.32",
|
||||
"version": "2.39.33",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -62,7 +62,6 @@ Add module: 添加模块
|
||||
Add new data: 添加新数据
|
||||
Add User: 添加用户
|
||||
Add: 添加
|
||||
Additional Files: 附加文件
|
||||
All {0} Contests: 所有 {0} 比赛
|
||||
All Contests: 所有比赛
|
||||
All Homeworks: 所有作业
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
{{ vndict[ddoc.parentType][ddoc.parentId].title|default(_('(missing)')) }}
|
||||
</a>
|
||||
</li>
|
||||
<li>{{ _('{0} views').format(ddoc.views) }}</li>
|
||||
<li>
|
||||
{{ user.render_inline(udict[ddoc.owner], badge=false) }}
|
||||
@
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="medium-4 columns">
|
||||
<div class="section">
|
||||
<div class="section__header">
|
||||
<h1 class="section__title">{{ _('Additional Files') }}</h1>
|
||||
<h1 class="section__title">{{ _('Files') }}</h1>
|
||||
<div class="section__tools">
|
||||
{% if handler.user.own(pdoc, perm.PERM_EDIT_PROBLEM_SELF) or handler.user.hasPerm(perm.PERM_EDIT_PROBLEM) %}
|
||||
<button class="primary rounded button" name="create_file">{{ _('Create File') }}</button>
|
||||
|
||||
Reference in new issue
Block a user