1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

Feat: code

This commit is contained in:
er-pai-r
2023-07-06 17:47:24 +08:00
parent c2049d274e
commit 532d79699a
3 changed files with 28 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ const { username, name } = window.app.userInfo;
const {
repoID, repoName, parentDir, filePerm,
docPath, docName, docUuid, seadocAccessToken, seadocServerUrl, assetsUrl,
isSdocRevision, isPublished,
} = window.app.pageOptions;
window.seafile = {
@@ -32,6 +33,8 @@ window.seafile = {
assetsUrl,
isShowInternalLink: true,
isStarIconShown: true, // for star/unstar
isSdocRevision,
isPublished,
revisionURL: Utils.generateRevisionURL(siteRoot, repoID, docPath),
};