diff --git a/.angulardoc.json b/.angulardoc.json new file mode 100644 index 0000000000000000000000000000000000000000..cd6626264d79c30dacac9fcd9e7d4ea4f0c98e25 --- /dev/null +++ b/.angulardoc.json @@ -0,0 +1,4 @@ +{ + "repoId": "a053e6e9-56d8-4b38-8e27-a5308c01a2d9", + "lastSync": 0 +} \ No newline at end of file diff --git a/MaarchCourrier b/MaarchCourrier new file mode 120000 index 0000000000000000000000000000000000000000..cad2cf80d74d821220c5c6c190097e08c3870865 --- /dev/null +++ b/MaarchCourrier @@ -0,0 +1 @@ +/var/www/html/MaarchCourrier/ \ No newline at end of file diff --git a/cs_maarch_develop b/cs_maarch_develop new file mode 120000 index 0000000000000000000000000000000000000000..cad2cf80d74d821220c5c6c190097e08c3870865 --- /dev/null +++ b/cs_maarch_develop @@ -0,0 +1 @@ +/var/www/html/MaarchCourrier/ \ No newline at end of file diff --git a/src/frontend/app/administration/template/template-administration-checkEntities-modal.component.html b/src/frontend/app/administration/template/template-administration-checkEntities-modal.component.html index f0749f778a1f88c90ee77aaaa1651bd66fcb4d99..1222593a427c1ae15f313f6fd20759a89b8270d7 100644 --- a/src/frontend/app/administration/template/template-administration-checkEntities-modal.component.html +++ b/src/frontend/app/administration/template/template-administration-checkEntities-modal.component.html @@ -2,7 +2,7 @@ <h2 mat-dialog-title>{{lang.templateAssociateEntities}}</h2> <div class="modal-body"> <div class="alert alert-warning" role="alert"> - <p><b>{{lang.templateCheckEntities}}{{lang[data.template_attachment_type]}}</b></p> + <p><b>{{lang.templateCheckEntities}}{{lang['AR'+data.template_attachment_type]}}</b></p> </div> <mat-list> <mat-list-item *ngFor="let entity of data.entitiesList"> diff --git a/src/frontend/app/administration/template/template-administration.component.html b/src/frontend/app/administration/template/template-administration.component.html index dc7dc0f3cb32ad07b76341e92e2efaf0b337697d..6faad067ca021ad17b67007c089af83b7803b69d 100755 --- a/src/frontend/app/administration/template/template-administration.component.html +++ b/src/frontend/app/administration/template/template-administration.component.html @@ -74,9 +74,9 @@ <mat-form-field> <mat-select [disabled]="!creationMode" id="template_attachment_type" name="template_attachment_type" title="{{lang.acknowledgementReceiptType}}" placeholder="{{lang.acknowledgementReceiptType}}" [(ngModel)]="template.template_attachment_type" required> - <mat-option value="simple">{{lang.ar_simple}}</mat-option> - <mat-option value="sva">{{lang.ar_sva}}</mat-option> - <mat-option value="svr">{{lang.ar_svr}}</mat-option> + <mat-option value="simple">{{lang.ARsimple}}</mat-option> + <mat-option value="sva">{{lang.ARsva}}</mat-option> + <mat-option value="svr">{{lang.ARsvr}}</mat-option> </mat-select> </mat-form-field> </div> diff --git a/src/frontend/lang/lang-en.ts b/src/frontend/lang/lang-en.ts index ebc0a6ee6e649e2669ada85fde6428a7c962fe50..f118423a24999c6f091b11cb85f92b72a3e05afb 100755 --- a/src/frontend/lang/lang-en.ts +++ b/src/frontend/lang/lang-en.ts @@ -36,9 +36,9 @@ export const LANG_EN = { "april" : "April", "aprilShort" : "Apr.", "acknowledgementReceipt" : "Acknowledgement of receipt", - 'ar_simple' : 'AR simple', - 'ar_sva' : 'AR SVA', - 'ar_svr' : 'AR SVR', + 'ARsimple' : 'AR simple', + 'ARsva' : 'AR SVA', + 'ARsvr' : 'AR SVR', "archivalAgency" : "Archival agency", "archivalAgreement" : "Archival agreement", "arrivalDate" : "Arrival date", diff --git a/src/frontend/lang/lang-fr.ts b/src/frontend/lang/lang-fr.ts index 8c843466d99347b8d7eb9fe0b05c8e7a87db125d..637570461c46e827e55032d6eac99408bd70a05e 100755 --- a/src/frontend/lang/lang-fr.ts +++ b/src/frontend/lang/lang-fr.ts @@ -43,9 +43,9 @@ export const LANG_FR = { "april" : "Avril", "aprilShort" : "Avr.", "acknowledgementReceipt" : "Accusé de réception", - 'ar_simple' : 'AR simple', - 'ar_sva' : 'AR SVA', - 'ar_svr' : 'AR SVR', + 'ARsimple' : 'AR simple', + 'ARsva' : 'AR SVA', + 'ARsvr' : 'AR SVR', "archival" : "Archivage", "archivalAgency" : "Convention d'archivage", "archivalAgreement" : "Service d'archive", diff --git a/src/frontend/lang/lang-nl.ts b/src/frontend/lang/lang-nl.ts index f0a7812e923a008a899db69a7c3bc5304103ee93..89d323a8b1c497c30eb3667c477930a3bd224418 100755 --- a/src/frontend/lang/lang-nl.ts +++ b/src/frontend/lang/lang-nl.ts @@ -877,9 +877,9 @@ export const LANG_NL = { "addNote" : "Add note", //_TO_TRANSLATE "makeActionOn" : "Do you want to do this action on", //_TO_TRANSLATE "acknowledgementReceipt" : "Acknowledgement of receipt", //_TO_TRANSLATE - 'ar_simple' : 'AR simple', //_TO_TRANSLATE - 'ar_sva' : 'AR SVA', //_TO_TRANSLATE - 'ar_svr' : 'AR SVR', //_TO_TRANSLATE + 'ARsimple' : 'AR simple', //_TO_TRANSLATE + 'ARsva' : 'AR SVA', //_TO_TRANSLATE + 'ARsvr' : 'AR SVR', //_TO_TRANSLATE "tooMuchDatas" : "Too much datas to export", //_TO_TRANSLATE "warnTooMuchSelect" : "only 500 elements can be processed with an action", //_TO_TRANSLATE "elements" : "element(s)", //_TO_TRANSLATE diff --git a/test/unitTests/app/template/TemplateControllerTest.php b/test/unitTests/app/template/TemplateControllerTest.php index 65eff6bb826dfc08d149547fd1bf217641100397..5a60ed6edb7e5bfef5f6310e1b5ce491ba1ad377 100755 --- a/test/unitTests/app/template/TemplateControllerTest.php +++ b/test/unitTests/app/template/TemplateControllerTest.php @@ -90,7 +90,7 @@ class TemplateControllerTest extends TestCase 'template_label' => 'TEST TEMPLATE AR', 'template_comment' => 'DESCRIPTION OF THIS TEMPLATE', 'template_target' => 'acknowledgementReceipt', - 'template_attachment_type' => 'ar_simple', + 'template_attachment_type' => 'ARsimple', 'template_type' => 'OFFICE_HTML', 'template_content' => 'Content of this template', 'template_datasource' => 'letterbox_attachment', @@ -112,7 +112,7 @@ class TemplateControllerTest extends TestCase 'template_label' => 'TEST TEMPLATE AR FAIL', 'template_comment' => 'DESCRIPTION OF THIS TEMPLATE', 'template_target' => 'acknowledgementReceipt', - 'template_attachment_type' => 'ar_simple', + 'template_attachment_type' => 'ARsimple', 'template_type' => 'OFFICE_HTML', 'template_content' => 'Content of this template', 'template_datasource' => 'letterbox_attachment', @@ -132,7 +132,7 @@ class TemplateControllerTest extends TestCase 'template_label' => 'TEST TEMPLATE AR FAIL', 'template_comment' => 'DESCRIPTION OF THIS TEMPLATE', 'template_target' => 'acknowledgementReceipt', - 'template_attachment_type' => 'ar_simple', + 'template_attachment_type' => 'ARsimple', 'template_type' => 'OFFICE_HTML', 'template_content' => '', 'template_datasource' => 'letterbox_attachment',