Add beta label for rtl option

This commit is contained in:
Julia Radzhabova
2024-01-10 15:43:46 +03:00
parent 00424c5466
commit 53cbbfe545
5 changed files with 15 additions and 12 deletions

View File

@ -210,6 +210,13 @@ label {
position: relative;
}
.beta-hint {
background-color: #ffb400;
color: #6e4e00;
padding: 3px 5px;
border-radius: 2px;
.margin-left-10();
}
}
.settings-panel {

View File

@ -405,7 +405,7 @@ define([
'<td colspan="2"><div id="fms-chb-use-alt-key"></div></td>',
'</tr>',
'<tr class="ui-rtl">',
'<td colspan="2"><div id="fms-chb-rtl-ui"></div></td>',
'<td colspan="2"><div id="fms-chb-rtl-ui" style="display: inline-block;"></div><span class="beta-hint">Beta</span></td>',
'</tr>',
'<tr class="quick-print">',
'<td colspan="2"><div style="display: flex;"><div id="fms-chb-quick-print"></div>',
@ -788,10 +788,9 @@ define([
})).on('click', _.bind(me.applySettings, me));
});
const txt_Beta = Common.Locale.get("txtSymbol_beta",{name:"DE.Controllers.Toolbar", default: "Beta"});
this.chRTL = new Common.UI.CheckBox({
el: $markup.findById('#fms-chb-rtl-ui'),
labelText: this.strRTLSupport + ' (' + txt_Beta + ')',
labelText: this.strRTLSupport,
dataHint: '2',
dataHintDirection: 'left',
dataHintOffset: 'small'

View File

@ -347,7 +347,7 @@ define([
'<td colspan="2"><div id="fms-chb-use-alt-key"></div></td>',
'</tr>',
'<tr class="ui-rtl">',
'<td colspan="2"><div id="fms-chb-rtl-ui"></div></td>',
'<td colspan="2"><div id="fms-chb-rtl-ui" style="display: inline-block;"></div><span class="beta-hint">Beta</span></td>',
'</tr>',
'<tr class="quick-print">',
'<td colspan="2"><div style="display: flex;"><div id="fms-chb-quick-print"></div>',
@ -592,10 +592,9 @@ define([
})).on('click', _.bind(me.applySettings, me));
});
const txt_Beta = Common.Locale.get("txtSymbol_beta",{name:"PDFE.Controllers.Toolbar", default: "Beta"});
this.chRTL = new Common.UI.CheckBox({
el: $markup.findById('#fms-chb-rtl-ui'),
labelText: this.strRTLSupport + ' (' + txt_Beta + ')',
labelText: this.strRTLSupport,
dataHint: '2',
dataHintDirection: 'left',
dataHintOffset: 'small'

View File

@ -330,7 +330,7 @@ define([
'<td colspan="2"><div id="fms-chb-use-alt-key"></div></td>',
'</tr>',
'<tr class="ui-rtl">',
'<td colspan="2"><div id="fms-chb-rtl-ui"></div></td>',
'<td colspan="2"><div id="fms-chb-rtl-ui" style="display: inline-block;"></div><span class="beta-hint">Beta</span></td>',
'</tr>',
'<tr class="quick-print">',
'<td colspan="2"><div style="display: flex;"><div id="fms-chb-quick-print"></div>',
@ -610,10 +610,9 @@ define([
dataHintOffset: 'big'
});
const txt_Beta = Common.Locale.get("txtSymbol_beta",{name:"DE.Controllers.Toolbar", default: "Beta"});
this.chRTL = new Common.UI.CheckBox({
el: $markup.findById('#fms-chb-rtl-ui'),
labelText: this.strRTLSupport + ' (' + txt_Beta + ')',
labelText: this.strRTLSupport,
dataHint: '2',
dataHintDirection: 'left',
dataHintOffset: 'small'

View File

@ -308,7 +308,7 @@ define([
'<td colspan="2"><div id="fms-chb-use-alt-key"></div></td>',
'</tr>',
'<tr class="ui-rtl">',
'<td colspan="2"><div id="fms-chb-rtl-ui"></div></td>',
'<td colspan="2"><div id="fms-chb-rtl-ui" style="display: inline-block;"></div><span class="beta-hint">Beta</span></td>',
'</tr>',
'<tr class="quick-print">',
'<td colspan="2"><div style="display: flex;"><div id="fms-chb-quick-print"></div>',
@ -794,10 +794,9 @@ define([
});
this.btnAutoCorrect.on('click', _.bind(this.autoCorrect, this));
const txt_Beta = Common.Locale.get("txtSymbol_beta",{name:"DE.Controllers.Toolbar", default: "Beta"});
this.chRTL = new Common.UI.CheckBox({
el: $markup.findById('#fms-chb-rtl-ui'),
labelText: this.strRTLSupport + ' (' + txt_Beta + ')',
labelText: this.strRTLSupport,
dataHint: '2',
dataHintDirection: 'left',
dataHintOffset: 'small'