ui: update problem_copy permissions

This commit is contained in:
undefined committed 2021-11-28 16:58:44 +08:00
1 parent b4b700890c
commit 55d77bd326
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ Hint::page::main: 欢迎来到 Hydro! 您可在右上角注册或登录。此
Hint::page::problem_detail: 这是题目详情页面。您可点击右侧“进入在线编程模式"开始编写您的代码。
Hint::page::problem_files: 您可以将文件或压缩包拖拽至对应区域来上传文件。点击文件名在线编辑或按住 Ctrl 后点击文件名下载单个文件。
Hint::page::problem_main: 这是题目列表页面。您可在页面右侧进行筛选或搜索。
Hitokoto: 一言(ヒトコト)
Hitokoto: 一言
home_account: 账户设置
home_domain_account: 当前域的设置
home_domain_create: 创建域
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.26.22",
"version": "4.26.23",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -91,7 +91,7 @@
<span class="icon icon-download"></span> {{ _('Download') }}
</a></li>
{% endif %}
{% if handler.user.hasPriv(PRIV.PRIV_CREATE_DOMAIN) %}
{% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %}
<li class="menu__item nojs--hide"><a class="menu__link" href="javascript:;" name="problem-sidebar__copy">
<span class="icon icon-copy"></span> {{ _('Copy') }}
</a></li>