mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 22:46:48 +08:00
[SSE] Add a warning when the user does not have access to modify filters
This commit is contained in:
@ -983,6 +983,8 @@ define([
|
||||
|
||||
if (me.appOptions.isEdit && me.appOptions.spreadsheet.fileType.toLowerCase()==='csv')
|
||||
Common.UI.TooltipManager.showTip({ step: 'openCsv', text: me.warnOpenCsv, target: '#toolbar', maxwidth: 350, automove: true, noHighlight: true, noArrow: true, showButton: false});
|
||||
if (me.appOptions.isEdit && !me.appOptions.canModifyFilter)
|
||||
Common.UI.TooltipManager.showTip({ step: 'cantModifyFilter', text: me.warnModifyFilter, target: '#toolbar', maxwidth: 400, showButton: false, automove: true, noHighlight: true, noArrow: true});
|
||||
|
||||
value = (this.appOptions.isEditMailMerge || this.appOptions.isEditDiagram || this.appOptions.isEditOle) ? 100 : Common.localStorage.getItem("sse-settings-zoom");
|
||||
Common.Utils.InternalSettings.set("sse-settings-zoom", value);
|
||||
|
||||
@ -1986,6 +1986,7 @@
|
||||
"SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"SSE.Controllers.Main.warnOpenCsv": "The CSV format does not support saving a multi-sheet file or any elements except text.<br>Only the active sheet will be saved.",
|
||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"SSE.Controllers.Main.warnModifyFilter": "You’re in a mode where filters are visible only to you and aren’t saved. You can’t add or remove filters.<br>To save your current view, use Sheet View on the View tab.",
|
||||
"SSE.Controllers.PivotTable.strSheet": "Sheet",
|
||||
"SSE.Controllers.PivotTable.txtCalculatedItemInPageField": "The item cannot be added or modified. PivotTable report has this field in Filters.",
|
||||
"SSE.Controllers.PivotTable.txtCalculatedItemWarningDefault": "No actions with calculated items are allowed for this active cell.",
|
||||
|
||||
Reference in New Issue
Block a user