mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: 移除题目导出中的lastModified标记
This commit is contained in:
1 parent
f7225fdc26
commit
d53b5d5a32
3 files changed
+4
-4
No files matched your search
@@ -78,8 +78,8 @@ export async function downloadProblemSet(pids, name = 'Export') {
|
||||
tag: pdoc.tag,
|
||||
nSubmit: pdoc.nSubmit,
|
||||
nAccept: pdoc.nAccept,
|
||||
data: (pdoc.data || []).map((i) => pick(i, ['name', 'lastModified', 'etag', 'size', '_id'])),
|
||||
additional_file: (pdoc.additional_file || []).map((i) => pick(i, ['name', 'lastModified', 'etag', 'size', '_id'])),
|
||||
data: (pdoc.data || []).map((i) => pick(i, ['name'])),
|
||||
additional_file: (pdoc.additional_file || []).map((i) => pick(i, ['name'])),
|
||||
difficulty: pdoc.difficulty,
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.11.17",
|
||||
"version": "4.11.18",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
||||
<p>{{ _('Upload zipfile') }} {% if type %}({{ _('Type') }}: {{type}}){% endif %}:
|
||||
<input type="file" name="file">
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) not type %}<input type="checkbox" name="keepUser">{% endif %}
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) and not type %}<input type="checkbox" name="keepUser">{% endif %}
|
||||
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user