FIX #12091 TIME 0:30 remove confirm modal + wording

parent b0877a3b
......@@ -14,7 +14,7 @@
},
"keywords": [],
"author": "Maarch",
"license": "GPL-3.0",
"license": "GPL-3.0",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.11.2",
"@tinymce/tinymce-angular": "^3.4.0",
......
......@@ -39,7 +39,7 @@ export class ContactsCustomFieldsAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: true
},
{
......
......@@ -39,7 +39,7 @@ export class ContactsGroupAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: false
},
{
......
......@@ -43,7 +43,7 @@ export class ContactsGroupsAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: false
},
{
......
......@@ -56,7 +56,7 @@ export class ContactsListAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: false
},
{
......
......@@ -33,7 +33,7 @@ export class ContactsPageAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: false
},
{
......
......@@ -31,7 +31,7 @@ export class ContactsParametersAdministrationComponent implements OnInit {
{
icon: 'fa fa-code',
route: '/administration/contacts/contactsCustomFields',
label : this.lang.customFields,
label : this.lang.customFieldsAdmin,
current: false
},
{
......
......@@ -102,11 +102,7 @@ export class FoldersService {
}
pinFolder(folder: any) {
const dialogRef = this.dialog.open(ConfirmComponent, { autoFocus: false, disableClose: true, data: { title: this.lang.pinFolder, msg: this.lang.confirmAction } });
dialogRef.afterClosed().pipe(
filter((data: string) => data === 'ok'),
exhaustMap(() => this.http.post(`../../rest/folders/${folder.id}/pin`, {})),
this.http.post(`../../rest/folders/${folder.id}/pin`, {}).pipe(
tap(() => {
this.getPinnedFolders();
this.eventAction.next({type:'refreshFolderPinned', content: {id: folder.id, pinned : true}});
......@@ -120,11 +116,7 @@ export class FoldersService {
}
unpinFolder(folder: any) {
const dialogRef = this.dialog.open(ConfirmComponent, { autoFocus: false, disableClose: true, data: { title: this.lang.unpinFolder, msg: this.lang.confirmAction } });
dialogRef.afterClosed().pipe(
filter((data: string) => data === 'ok'),
exhaustMap(() => this.http.delete(`../../rest/folders/${folder.id}/unpin`)),
this.http.delete(`../../rest/folders/${folder.id}/unpin`).pipe(
tap(() => {
this.getPinnedFolders();
this.eventAction.next({type:'refreshFolderPinned', content: {id: folder.id, pinned : false}});
......
......@@ -1112,7 +1112,7 @@ export const LANG_EN = {
"indexingModelModification" : "Indexing model modification",
"mandatoryField" : "Mandatory field",
"optionalField" : "Optional field",
"indexingModels" : "Indexing model(s)",
"indexingModels" : "Indexing models",
"perimeter" : "Perimeter",
"indexingModelDeleted" : "Indexing model deleted",
"indexingModelAdded" : "Indexing model added",
......
......@@ -1150,7 +1150,7 @@ export const LANG_FR = {
"indexingModelModification" : "Modification du modèle d'enregistrement",
"mandatoryField" : "Champ obligatoire",
"optionalField" : "Champ optionnel",
"indexingModels" : "Modèle(s) d'enregistrement(s)",
"indexingModels" : "Modèles d'enregistrements",
"perimeter" : "Périmètre",
"indexingModelDeleted" : "Modèle d'enregistrement supprimé",
"indexingModelAdded" : "Modèle d'enregistrement ajouté",
......
......@@ -1138,7 +1138,7 @@ export const LANG_NL = {
"indexingModelModification" : "Indexing model modification", //_TO_TRANSLATE
"mandatoryField" : "Mandatory field", //_TO_TRANSLATE
"optionalField" : "Optional field", //_TO_TRANSLATE
"indexingModels" : "Indexing model(s)", //_TO_TRANSLATE
"indexingModels" : "Indexing models", //_TO_TRANSLATE
"perimeter" : "Perimeter", //_TO_TRANSLATE
"indexingModelDeleted" : "Indexing model deleted", //_TO_TRANSLATE
"indexingModelAdded" : "Indexing model added", //_TO_TRANSLATE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment