From c66fbba36646f51ee0c696ffdfa18e5c820c29bc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 14 Dec 2017 12:55:30 +0100 Subject: [sysconfig] Allow remapping of attributes for AD too --- .../sysconfig/templates/ad-selfsearch.html | 6 ++++ .../sysconfig/templates/ad-start.html | 36 ++++++++++++++-------- 2 files changed, 29 insertions(+), 13 deletions(-) (limited to 'modules-available/sysconfig/templates') diff --git a/modules-available/sysconfig/templates/ad-selfsearch.html b/modules-available/sysconfig/templates/ad-selfsearch.html index 6c5bcb8c..6b85b9ed 100644 --- a/modules-available/sysconfig/templates/ad-selfsearch.html +++ b/modules-available/sysconfig/templates/ad-selfsearch.html @@ -39,6 +39,9 @@ {{/ssl}} + {{#mapping}} + + {{/mapping}} @@ -60,6 +63,9 @@ {{/ssl}} + {{#mapping}} + + {{/mapping}} diff --git a/modules-available/sysconfig/templates/ad-start.html b/modules-available/sysconfig/templates/ad-start.html index 1559ad52..7f211343 100644 --- a/modules-available/sysconfig/templates/ad-start.html +++ b/modules-available/sysconfig/templates/ad-start.html @@ -20,40 +20,50 @@
- {{lang_moduleTitle}} + {{lang_moduleTitle}}
- Server * + Server *
- {{lang_bindDN}} * + {{lang_bindDN}} *
- {{lang_password}} * + {{lang_password}} *
- {{lang_searchBase}} + {{lang_searchBase}}
-
- Home + Home
-
- {{lang_homeAttr}} - - - - +
+
+

{{lang_customizeAttrDescAd}}

+ {{#mapping}} + {{#ad}} +
+ {{name}} + +
+ {{/ad}} + {{/mapping}}
+ {{#map_empty}} +
+ {{lang_customizeAttributes}} + +
+ {{/map_empty}}
-- cgit v1.2.3-55-g7522