diff --git a/apps/maarch_entreprise/Views/template-administration.component.html b/apps/maarch_entreprise/Views/template-administration.component.html
index 45f9ff275d804e7f381c5d2e75c52ba5da9a38b0..46f78c06a14467cbbb68132368c6c7e5772eaf53 100755
--- a/apps/maarch_entreprise/Views/template-administration.component.html
+++ b/apps/maarch_entreprise/Views/template-administration.component.html
@@ -46,9 +46,12 @@
                         <div class="col-sm-12">
                             <mat-form-field>
                                 <mat-select id="template_target" name="template_target" title="{{lang.templateTarget}}" placeholder="{{lang.templateTarget}}" [(ngModel)]="template.template_target">
-                                    <!-- <mat-option *ngFor="let action of actionPagesList.actionsPageList" [value]="action.name">
-                                        {{action.label}}
-                                    </mat-option> -->
+                                    <mat-option value="">{{lang.noTarget}}</mat-option>
+                                    <mat-option value="attachments">{{lang.attachments}}</mat-option>
+                                    <mat-option value="notifications">{{lang.notifications}}</mat-option>
+                                    <mat-option value="doctypes">{{lang.doctypes}}</mat-option>
+                                    <mat-option value="notes">{{lang.notes}}</mat-option>
+                                    <mat-option value="sendmail">{{lang.sendmail}}</mat-option>
                                 </mat-select>
                             </mat-form-field>
                         </div>
@@ -56,9 +59,9 @@
                     <div class="form-group">
                         <div class="col-sm-12">
                             <mat-radio-group required name="template_type" [(ngModel)]="template.template_type">
-                                <mat-radio-button color="primary" name="template_type" [checked]="template.template_type=='OFFICE'" value="OFFICE">{{lang.office}}</mat-radio-button>
-                                <mat-radio-button color="primary" name="template_type" [checked]="template.template_type=='HTML'" (click)="initMce()" value="HTML">{{lang.html}}</mat-radio-button>
-                                <mat-radio-button color="primary" name="template_type" [checked]="template.template_type=='TXT'" value="TXT">{{lang.txt}}</mat-radio-button>
+                                <mat-radio-button color="primary" name="template_type" value="OFFICE" [checked]="template.template_type=='OFFICE'" *ngIf="template.template_target == 'attachments' || template.template_target == ''">{{lang.office}}</mat-radio-button>
+                                <mat-radio-button color="primary" name="template_type" value="HTML" [checked]="template.template_type=='HTML'" *ngIf="template.template_target == 'sendmail' || template.template_target == 'doctypes' || template.template_target == 'notifications' || template.template_target == ''" (click)="initMce()">{{lang.html}}</mat-radio-button>
+                                <mat-radio-button color="primary" name="template_type" value="TXT" [checked]="template.template_type=='TXT'" *ngIf="template.template_target == 'sendmail' || template.template_target == 'notes' || template.template_target == ''">{{lang.txt}}</mat-radio-button>
                             </mat-radio-group>
                         </div>
                     </div>
@@ -70,7 +73,7 @@
                     <div class="form-group" *ngIf="template.template_type=='TXT'">
                         <div class="col-sm-12">
                             <mat-form-field>
-                                <textarea matInput [(ngModel)]="template.templateTxt" name="templateTxt" id="templateTxt" placeholder="{{lang.contentTxtTemplate}}"
+                                <textarea matInput [(ngModel)]="template.template_content" name="templateTxt" id="templateTxt" placeholder="{{lang.contentTxtTemplate}}"
                                     title="{{lang.contentTxtTemplate}}" matTextareaAutosize matAutosizeMinRows="5"
                                     matAutosizeMaxRows="5">
                                 </textarea>
@@ -80,7 +83,7 @@
                     <div class="form-group" *ngIf="template.template_type=='HTML'">
                         <div class="col-sm-12">
                             <div id="html_mode" style="display: block; width:100%;">
-                                <textarea [(ngModel)]="template.templateHtml" name="templateHtml" id="templateHtml" style="width:100%" rows="15" cols="60"></textarea>
+                                <textarea [(ngModel)]="template.template_content" name="templateHtml" id="templateHtml" style="width:100%" rows="15" cols="60"></textarea>
                             </div>
                         </div>
                     </div>
diff --git a/apps/maarch_entreprise/js/angular/lang/lang-en.ts b/apps/maarch_entreprise/js/angular/lang/lang-en.ts
index 2ac8ebd91d893c1dd98904ad97762551a33d20e4..328be7219a631a8de133606d0ec905f7e277c965 100755
--- a/apps/maarch_entreprise/js/angular/lang/lang-en.ts
+++ b/apps/maarch_entreprise/js/angular/lang/lang-en.ts
@@ -530,5 +530,7 @@ export const LANG_EN = {
     "txt"                               : "Texte",
     "contentTxtTemplate"                : "Content text template",
     "contentHtmlTemplate"               : "Content html template",
+    "noTarget"                          : "No target",
+    "doctypes"                          : "Document types",
 
 };
diff --git a/apps/maarch_entreprise/js/angular/lang/lang-fr.ts b/apps/maarch_entreprise/js/angular/lang/lang-fr.ts
index 6c33f8339ed0cba0c5d8349e84bfc7ff22e17c90..26fdb87838ca0fb85331f7dc7ba029a25867e7e3 100755
--- a/apps/maarch_entreprise/js/angular/lang/lang-fr.ts
+++ b/apps/maarch_entreprise/js/angular/lang/lang-fr.ts
@@ -551,5 +551,7 @@ export const LANG_FR = {
     "txt"                               : "Texte",
     "contentTxtTemplate"                : "Contenu du modèle texte",
     "contentHtmlTemplate"               : "Contenu du modèle html",
+    "noTarget"               : "Pas de cible",
+    "doctypes"               : "Types de documents",
 
 };