mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
feat(python): enable features tips for anonymous
This commit is contained in:
@ -91,7 +91,8 @@ descr_user_0 = [
|
||||
"Can't protect file",
|
||||
"View file without collaboration",
|
||||
"Can’t submit forms",
|
||||
"Can't refresh outdated file"
|
||||
"Can't refresh outdated file",
|
||||
"Tour of tips when opening a document"
|
||||
]
|
||||
|
||||
USERS = [
|
||||
|
||||
@ -345,6 +345,9 @@ def edit(request):
|
||||
# settings for the Open file location menu button and upper right corner button
|
||||
'goback': user.goback if user.goback is not None else '',
|
||||
'close': user.close if user.close is not None else '',
|
||||
'features': {
|
||||
'featuresTips': user.id == 'uid-0'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user