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";
|
import { ReglesOptionelles } from "./regles-optionelles.js";
|
||||||
|
|
||||||
export class RdDConfirm {
|
export class RdDConfirm {
|
||||||
@ -43,8 +44,8 @@ export class RdDConfirm {
|
|||||||
static _createButtonActionSave(options) {
|
static _createButtonActionSave(options) {
|
||||||
return {
|
return {
|
||||||
"actionSave": {
|
"actionSave": {
|
||||||
icon: '<i class="far fa-save"></i>',
|
icon: '<i class="fas fa-user-check"></i>',
|
||||||
label: options.buttonLabel + "<br>(Ne plus demander)",
|
label: "Toujours "+ options.buttonLabel.toLowerCase(),
|
||||||
callback: () => {
|
callback: () => {
|
||||||
ReglesOptionelles.set(options.settingConfirmer, false);
|
ReglesOptionelles.set(options.settingConfirmer, false);
|
||||||
options.onAction();
|
options.onAction();
|
||||||
|
Loading…
Reference in New Issue
Block a user