Skip to content
Snippets Groups Projects
Commit ea5c39fc authored by renater.salaun's avatar renater.salaun
Browse files

Fix

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@95 047e039d-479c-447e-8a29-aa6bf4a09bab
parent b28bba96
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,14 @@
<caption>List of user attributes</caption>
[% FOREACH attribute IN account_profile.pairs -%]
[% NEXT IF attribute.key.match('^(type|comment)$') %]
[% IF attribute.key == 'eduPersonAffiliation' || attribute.key == 'eduPersonScoppedAffiliation' %](1) [% END %]
[% IF attribute.value.isa('SCALAR') -%]
<tr>
<th>[% attribute.key %]:</th><td> [% attribute.value %]</td>
<th>[% attribute.key %][% IF attribute.key == 'eduPersonAffiliation' || attribute.key == 'eduPersonScopedAffiliation' %](1) [% END %]:</th><td> [% attribute.value %]</td>
</tr>
[% ELSE -%]
<tr>
<th>[% attribute.key %]:</th><td> [% attribute.value.join(",") %]</td>
<th>[% attribute.key %][% IF attribute.key == 'eduPersonAffiliation' || attribute.key == 'eduPersonScopedAffiliation' %](1) [% END %]:</th><td> [% attribute.value.join(",") %]</td>
</tr>
[% END %]
[% END %]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment