[main] hide label NEW in settings

This commit is contained in:
Maxim Kadushkin
2026-02-21 00:51:04 +03:00
parent cd40f2b4cd
commit 4c57bfcb49
5 changed files with 4 additions and 14 deletions

View File

@ -448,7 +448,7 @@ define([], function () {
'<div><div id="fms-cmb-macros"></div>',
'</tr>',
'<tr>',
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
'</tr>',
'<tr>',
@ -1081,8 +1081,6 @@ define([], function () {
value = Common.Utils.InternalSettings.get("de-settings-numeral");
item = this.cmbNumeral.store.findWhere({value: value});
this.cmbNumeral.setValue(item ? item.get('value') : Asc.c_oNumeralType.arabic);
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
},
applySettings: function() {

View File

@ -389,7 +389,7 @@ define([], function () {
'<td><span id="fms-cmb-font-render"></span></td>',
'</tr>',
'<tr>',
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
'</tr>',
'<tr class ="divider-group"></tr>',
@ -854,8 +854,6 @@ define([], function () {
value = Common.Utils.InternalSettings.get("settings-tab-style");
item = this.cmbTabStyle.store.findWhere({value: value});
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
},
applySettings: function() {

View File

@ -365,7 +365,7 @@ define([], function () {
'<td><div><div id="fms-cmb-macros"></div></div></td>',
'</tr>',
'<tr>',
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
'</tr>',
'<tr class ="divider-group"></tr>',
@ -826,8 +826,6 @@ define([], function () {
value = Common.Utils.InternalSettings.get("settings-tab-style");
item = this.cmbTabStyle.store.findWhere({value: value});
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
},
applySettings: function() {

View File

@ -375,7 +375,7 @@ define([], function () {
'</td>',
'</tr>',
'<tr>',
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
'</tr>',
'<tr class ="divider-group"></tr>',
@ -1243,8 +1243,6 @@ define([], function () {
this.chHScroll.setValue(this.api.asc_GetShowHorizontalScroll());
this.chVScroll.setValue(this.api.asc_GetShowVerticalScroll());
}
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
},
isValid: function() {

View File

@ -582,8 +582,6 @@ define([], function () {
value = Common.Utils.InternalSettings.get("settings-tab-style");
item = this.cmbTabStyle.store.findWhere({value: value});
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
// Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
},
applySettings: function() {