Bouton "Toujours supprimer"
Label et icône plus clairs
This commit is contained in:
parent
3c86e1b97c
commit
4443548b0e
@ -1,3 +1,4 @@
|
||||
import { Grammar } from "./grammar.js";
|
||||
import { ReglesOptionelles } from "./regles-optionelles.js";
|
||||
|
||||
export class RdDConfirm {
|
||||
@ -43,8 +44,8 @@ export class RdDConfirm {
|
||||
static _createButtonActionSave(options) {
|
||||
return {
|
||||
"actionSave": {
|
||||
icon: '<i class="far fa-save"></i>',
|
||||
label: options.buttonLabel + "<br>(Ne plus demander)",
|
||||
icon: '<i class="fas fa-user-check"></i>',
|
||||
label: "Toujours "+ options.buttonLabel.toLowerCase(),
|
||||
callback: () => {
|
||||
ReglesOptionelles.set(options.settingConfirmer, false);
|
||||
options.onAction();
|
||||
|
Loading…
Reference in New Issue
Block a user