Skip to content
Snippets Groups Projects
Commit 4c4c58b9 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix edugain template

parent be7e93f9
No related branches found
No related tags found
No related merge requests found
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
[% lh.maketext("You must be an administrator of that service to continue afterwards.") %] [% lh.maketext("You must be an administrator of that service to continue afterwards.") %]
</p> </p>
[% FOREACH group IN groups() %] [% FOREACH group IN groups %]
<fieldset> <fieldset>
<legend>[% lh.localize(group.label) %]</legend> <legend>[% lh.maketext(group.label) %]</legend>
[% SWITCH group.type %] [% SWITCH group.type %]
[% CASE 'list' %] [% CASE 'list' %]
<select id="[% group.id %]" name="[% group.id %]"> <select id="[% group.id %]" name="[% group.id %]">
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
[% END %] [% END %]
</select> </select>
[% CASE 'link' %] [% CASE 'link' %]
<a class="button" href="[% group.url %]">[% lh.localize(group.message) %]</a> <a class="button" href="[% group.url %]">[% lh.maketext(group.message) %]</a>
[% END %] [% END %]
</fieldset> </fieldset>
[% END %] [% END %]
...@@ -90,8 +90,6 @@ $( document ).ready(function() { ...@@ -90,8 +90,6 @@ $( document ).ready(function() {
// retrieve federation and entityid // retrieve federation and entityid
var entity = this.element.val(); var entity = this.element.val();
var federation = this.element.find('option:selected').attr('data-federation');
$("#federation").val(federation);
$("#entityid").val(entity); $("#entityid").val(entity);
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment