mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
Remove unshare confirm
This commit is contained in:
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2012-11-09 18:02+0800\n"
|
"POT-Creation-Date: 2012-11-09 19:57+0800\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -727,8 +727,8 @@ msgid "Tips"
|
|||||||
msgstr "小提示"
|
msgstr "小提示"
|
||||||
|
|
||||||
#: templates/public_home.html:11
|
#: templates/public_home.html:11
|
||||||
msgid "Libraries marked as read-only can only be browsed online. "
|
msgid "A library marked as read-only can be downloaded."
|
||||||
msgstr "标记为只读的资料库只能在线浏览。"
|
msgstr "标记为只读的资料库可以被下载。"
|
||||||
|
|
||||||
#: templates/public_home.html:12
|
#: templates/public_home.html:12
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -1717,10 +1717,6 @@ msgstr ""
|
|||||||
msgid "Input cannot be empty"
|
msgid "Input cannot be empty"
|
||||||
msgstr "输入不能为空"
|
msgstr "输入不能为空"
|
||||||
|
|
||||||
#: templates/snippets/myhome_extra_script.html:34
|
|
||||||
msgid "Really want to leave share?"
|
|
||||||
msgstr "确定要退出共享?"
|
|
||||||
|
|
||||||
#: templates/snippets/repo_create_form.html:9
|
#: templates/snippets/repo_create_form.html:9
|
||||||
msgid "Share Permission"
|
msgid "Share Permission"
|
||||||
msgstr "共享权限"
|
msgstr "共享权限"
|
||||||
@@ -1766,6 +1762,9 @@ msgstr "名字(可选)"
|
|||||||
msgid "Note(optional)"
|
msgid "Note(optional)"
|
||||||
msgstr "备注(可选)"
|
msgstr "备注(可选)"
|
||||||
|
|
||||||
|
#~ msgid "Really want to leave share?"
|
||||||
|
#~ msgstr "确定要退出共享?"
|
||||||
|
|
||||||
#~ msgid "Email is not longer than 512 characters"
|
#~ msgid "Email is not longer than 512 characters"
|
||||||
#~ msgstr "邮箱不能超过512个字符"
|
#~ msgstr "邮箱不能超过512个字符"
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2012-11-09 18:02+0800\n"
|
"POT-Creation-Date: 2012-11-09 19:57+0800\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -271,8 +271,8 @@ msgid ""
|
|||||||
msgstr "你可以到“群组”页面点击“新建群组”按钮创建一个群组。"
|
msgstr "你可以到“群组”页面点击“新建群组”按钮创建一个群组。"
|
||||||
|
|
||||||
#: templates/organizations/org_public.html:15
|
#: templates/organizations/org_public.html:15
|
||||||
msgid "Libraries marked as read-only can only be browsed online. "
|
msgid "A library marked as read-only can be downloaded."
|
||||||
msgstr "标记为只读的资料库只能在线浏览。"
|
msgstr "标记为只读的资料库可以被下载。"
|
||||||
|
|
||||||
#: templates/organizations/org_public.html:16
|
#: templates/organizations/org_public.html:16
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<h3 class="info-item-top">{% trans "Tips"%}</h3>
|
<h3 class="info-item-top">{% trans "Tips"%}</h3>
|
||||||
<div class="info-item-bottom">
|
<div class="info-item-bottom">
|
||||||
<p class="not-last">{% trans "Libraries marked as read-only can only be browsed online. "%}</p>
|
<p class="not-last">{% trans "A library marked as read-only can be downloaded." %}</p>
|
||||||
<p>{% trans "Afterwards, updates on server will be downloaded automatically, but updates on local files will not be uploaded."%}</p>
|
<p>{% trans "Afterwards, updates on server will be downloaded automatically, but updates on local files will not be uploaded."%}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<h3 class="info-item-top">{% trans "Tips"%}</h3>
|
<h3 class="info-item-top">{% trans "Tips"%}</h3>
|
||||||
<div class="info-item-bottom">
|
<div class="info-item-bottom">
|
||||||
<p class="not-last">{% trans "Libraries marked as read-only can only be browsed online. "%}</p>
|
<p class="not-last">{% trans "A library marked as read-only can be downloaded." %}</p>
|
||||||
<p>{% trans "Afterwards, updates on server will be downloaded automatically, but updates on local files will not be uploaded."%}</p>
|
<p>{% trans "Afterwards, updates on server will be downloaded automatically, but updates on local files will not be uploaded."%}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -30,12 +30,14 @@ $(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
addConfirmTo($('.repo-delete-btn'), '{% trans "Really want to delete?" %}');
|
addConfirmTo($('.repo-delete-btn'), '{% trans "Really want to delete?" %}');
|
||||||
|
|
||||||
addConfirmTo($('.unshare-btn'), '{% trans "Really want to leave share?" %}');
|
$('.unshare-btn').click(function() {
|
||||||
|
location.href = $(this).attr('data');
|
||||||
|
});
|
||||||
|
|
||||||
$(".download-btn").click(function() {
|
$(".download-btn").click(function() {
|
||||||
window.open('{{ SITE_ROOT }}seafile_access_check/?repo_id=' + $(this).attr('data'));
|
window.open('{{ SITE_ROOT }}seafile_access_check/?repo_id=' + $(this).attr('data'));
|
||||||
});
|
});
|
||||||
|
|
||||||
//show op images when mouse hover on
|
//show op images when mouse hover on
|
||||||
$("table tr:gt(0)").hover(
|
$("table tr:gt(0)").hover(
|
||||||
|
Reference in New Issue
Block a user