diff --git a/config.yaml b/config.yaml index 26ab6ab..53729cf 100644 --- a/config.yaml +++ b/config.yaml @@ -32,7 +32,10 @@ views: files: - web/layouts/_partials/address_autocomplete.html - web/layouts/beneficiaries/update.html - + conseillers: + display: + files: + - web/layouts/conseillers/display.html vehicles: search: files: diff --git a/web/layouts/administration/_partials/groups_admins.html b/web/layouts/administration/_partials/groups_admins.html index 3495123..010f313 100644 --- a/web/layouts/administration/_partials/groups_admins.html +++ b/web/layouts/administration/_partials/groups_admins.html @@ -11,7 +11,7 @@
- +

{{.Data.first_name}} {{.Data.last_name}}

{{.Data.email}}

diff --git a/web/layouts/conseillers/display.html b/web/layouts/conseillers/display.html new file mode 100644 index 0000000..9ffb285 --- /dev/null +++ b/web/layouts/conseillers/display.html @@ -0,0 +1,55 @@ +{{define "content"}} +
+ +
+
+
+
+ + +
+
+
+

{{.ViewState.admins.Data.first_name}} + {{.ViewState.admins.Data.last_name}}

+
+
+
+ +
+
+
+
+
+

+ Informations personnelles

+

Informations générales sur le Conseiller.

+
+
+ +
+ {{if .ViewState.admins.Data.email}} +
+
Email
+
{{.ViewState.admins.Data.email}}
+
+ {{end}} +
+
+
Nom
+
{{.ViewState.admins.Data.first_name}}
+
+
+
Prénon
+
{{.ViewState.admins.Data.last_name}} +
+
+
+
+
+
+
+ +
+
+{{end}} \ No newline at end of file