From 3789e238e609220f1050c27c1e3db4036e7ee7a6 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Fri, 18 Dec 2020 16:16:51 +0100 Subject: [PATCH] propagate changes to edugain theme also --- templates/web/edugain/complete_challenge.tt2.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/web/edugain/complete_challenge.tt2.html b/templates/web/edugain/complete_challenge.tt2.html index 5eb19ad..880e675 100644 --- a/templates/web/edugain/complete_challenge.tt2.html +++ b/templates/web/edugain/complete_challenge.tt2.html @@ -22,6 +22,16 @@ <legend>[% lh.maketext("Accounts validity period, in days:") %]</legend> <input name="validity" value="[% validity %]" id="validity" type="number" class="required" min="1"/> </fieldset> + <fieldset> + <legend>[% lh.maketext("Account profiles:") %]</legend> +[% FOREACH profile IN profiles %] + [% template = profile _ '.tt2' %] + [% PROCESS $template scope=account.scope() id=account.id() | trim %] + <input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/> + <label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label> +[% END %] + + </fieldset> <input type="hidden" name="federation" value="[% federation %]"/> <input type="hidden" name="entityid" value="[% entityid %]"/> <input type="hidden" name="email" value="[% email %]"/> -- GitLab