Verified Commit e1ea2194 authored by Alex ORLUC's avatar Alex ORLUC

FEAT #11270 TIME 8 add front admin custom fields

parent 15175eb5
...@@ -448,11 +448,11 @@ ...@@ -448,11 +448,11 @@
<id>admin_custom_fields</id> <id>admin_custom_fields</id>
<name>_ADMIN_CUSTOM_FIELDS</name> <name>_ADMIN_CUSTOM_FIELDS</name>
<comment>_ADMIN_CUSTOM_FIELDS</comment> <comment>_ADMIN_CUSTOM_FIELDS</comment>
<servicepage>/administration/custom_fields</servicepage> <servicepage>/administration/customFields</servicepage>
<servicetype>admin</servicetype> <servicetype>admin</servicetype>
<category>organisation</category> <category>organisation</category>
<system_service>false</system_service> <system_service>false</system_service>
<style>fa fa-user</style> <style>fas fa-code</style>
<enabled>true</enabled> <enabled>true</enabled>
<angular>true</angular> <angular>true</angular>
</SERVICE> </SERVICE>
......
...@@ -37,6 +37,7 @@ import { SecuritiesAdministrationComponent } from './security/securit ...@@ -37,6 +37,7 @@ import { SecuritiesAdministrationComponent } from './security/securit
import { SendmailAdministrationComponent } from './sendmail/sendmail-administration.component'; import { SendmailAdministrationComponent } from './sendmail/sendmail-administration.component';
import { ShippingsAdministrationComponent } from './shipping/shippings-administration.component'; import { ShippingsAdministrationComponent } from './shipping/shippings-administration.component';
import { ShippingAdministrationComponent } from './shipping/shipping-administration.component'; import { ShippingAdministrationComponent } from './shipping/shipping-administration.component';
import { CustomFieldsAdministrationComponent } from './customField/custom-fields-administration.component';
import { AppGuard } from '../../service/app.guard'; import { AppGuard } from '../../service/app.guard';
@NgModule({ @NgModule({
...@@ -90,6 +91,7 @@ import { AppGuard } from '../../service/app.guard'; ...@@ -90,6 +91,7 @@ import { AppGuard } from '../../service/app.guard';
{ path: 'administration/shippings', canActivate: [AppGuard], component: ShippingsAdministrationComponent }, { path: 'administration/shippings', canActivate: [AppGuard], component: ShippingsAdministrationComponent },
{ path: 'administration/shippings/new', canActivate: [AppGuard], component: ShippingAdministrationComponent }, { path: 'administration/shippings/new', canActivate: [AppGuard], component: ShippingAdministrationComponent },
{ path: 'administration/shippings/:id', canActivate: [AppGuard], component: ShippingAdministrationComponent }, { path: 'administration/shippings/:id', canActivate: [AppGuard], component: ShippingAdministrationComponent },
{ path: 'administration/customFields', canActivate: [AppGuard], component: CustomFieldsAdministrationComponent },
]), ]),
], ],
exports: [ exports: [
......
...@@ -49,6 +49,7 @@ import { TechnicalAdministrationComponent } from './technical/techni ...@@ -49,6 +49,7 @@ import { TechnicalAdministrationComponent } from './technical/techni
import { ListAdministrationComponent } from './basket/list/list-administration.component'; import { ListAdministrationComponent } from './basket/list/list-administration.component';
import { ShippingsAdministrationComponent } from './shipping/shippings-administration.component'; import { ShippingsAdministrationComponent } from './shipping/shippings-administration.component';
import { ShippingAdministrationComponent } from './shipping/shipping-administration.component'; import { ShippingAdministrationComponent } from './shipping/shipping-administration.component';
import { CustomFieldsAdministrationComponent } from './customField/custom-fields-administration.component';
@NgModule({ @NgModule({
imports: [ imports: [
...@@ -107,7 +108,8 @@ import { ShippingAdministrationComponent } from './shipping/shippin ...@@ -107,7 +108,8 @@ import { ShippingAdministrationComponent } from './shipping/shippin
TemplateAdministrationCheckEntitiesModalComponent, TemplateAdministrationCheckEntitiesModalComponent,
ShippingsAdministrationComponent, ShippingsAdministrationComponent,
ShippingAdministrationComponent, ShippingAdministrationComponent,
AccountLinkComponent AccountLinkComponent,
CustomFieldsAdministrationComponent
], ],
entryComponents: [ entryComponents: [
UsersAdministrationRedirectModalComponent, UsersAdministrationRedirectModalComponent,
......
...@@ -1073,4 +1073,12 @@ export const LANG_EN = { ...@@ -1073,4 +1073,12 @@ export const LANG_EN = {
"noAvailableFolder" : "No available folder", "noAvailableFolder" : "No available folder",
"unclassifyQuestion" : "Do you want to unclassify", "unclassifyQuestion" : "Do you want to unclassify",
"mailsInFolder" : "mail(s) in folder", "mailsInFolder" : "mail(s) in folder",
"customFields" : "custom field(s)",
"avaiblableCustomFieldsTypes" : "Available(s) custom type(s)",
"customField" : "custom field",
"stringInput" : "String input",
"selectInput" : "Select input",
"dateInput" : "Date input",
"radioInput" : "Radio input",
"checkboxInput" : "Checbox input",
}; };
...@@ -1110,4 +1110,12 @@ export const LANG_FR = { ...@@ -1110,4 +1110,12 @@ export const LANG_FR = {
"noAvailableFolder" : "Aucun dossier disponible", "noAvailableFolder" : "Aucun dossier disponible",
"unclassifyQuestion" : "Voulez-vous retirer", "unclassifyQuestion" : "Voulez-vous retirer",
"mailsInFolder" : "élément(s) du dossier", "mailsInFolder" : "élément(s) du dossier",
"customFields" : "champ(s) personnalisé(s)",
"avaiblableCustomFieldsTypes" : "Type(s) de champ(s) disponible(s)",
"customField" : "champ personnalisé",
"stringInput" : "Chaine de caractère",
"selectInput" : "Liste déroulante",
"dateInput" : "Champ date",
"radioInput" : "Liste à choix unique",
"checkboxInput" : "Liste à choix multiple",
}; };
...@@ -1099,4 +1099,12 @@ export const LANG_NL = { ...@@ -1099,4 +1099,12 @@ export const LANG_NL = {
"noAvailableFolder" : "No available folder", //_TO_TRANSLATE "noAvailableFolder" : "No available folder", //_TO_TRANSLATE
"unclassifyQuestion" : "Do you want to unclassify", //_TO_TRANSLATE "unclassifyQuestion" : "Do you want to unclassify", //_TO_TRANSLATE
"mailsInFolder" : "mail(s) in folder", //_TO_TRANSLATE "mailsInFolder" : "mail(s) in folder", //_TO_TRANSLATE
"customFields" : "custom field(s)", //_TO_TRANSLATE
"avaiblableCustomFieldsTypes" : "Available(s) custom type(s)", //_TO_TRANSLATE
"customField" : "custom field", //_TO_TRANSLATE
"stringInput" : "String input", //_TO_TRANSLATE
"selectInput" : "Select input", //_TO_TRANSLATE
"dateInput" : "Date input", //_TO_TRANSLATE
"radioInput" : "Radio input", //_TO_TRANSLATE
"checkboxInput" : "Checbox input", //_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