disco: corrections...
This commit is contained in:
parent
c94fc81d36
commit
6f399c6407
|
@ -16,11 +16,11 @@
|
|||
|
||||
<div id="authbuttons">
|
||||
Choisissez votre établissement :<br /><br />
|
||||
{% if not default_idp %}
|
||||
{% if default_idp %}
|
||||
<a class="bigbutton" id="default-idp" title="{{ default_idp.name }}" href="/sso?entity_id={{ default_idp.entity_id|urlfullencode }}">{{ default_idp.name }}</a>
|
||||
<a class="bigbutton" id="other-idps" href="#" onclick="$('#popup').show().modal()">Autres établissements</a>
|
||||
{% else %}
|
||||
<a class="bigbutton" id="default-idp" title="" href="#">IdP par défaut</a>
|
||||
<a class="bigbutton" id="default-idp" title="" href="#" style="display: none;"></a>
|
||||
<a class="bigbutton" id="other-idps" href="#" onclick="$('#popup').show().modal()">Liste des établissements</a>
|
||||
{% endif %}
|
||||
</div> <!-- #authbuttons -->
|
||||
|
@ -75,13 +75,13 @@ Choisissez votre établissement :<br /><br />
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
query()
|
||||
query();
|
||||
});
|
||||
|
||||
$('.idp-link').click(function () {
|
||||
var a = $(this);
|
||||
set(a.data('idp'));
|
||||
setTimeout(function () { window.location.href = a.attr('href'); }, 3000)
|
||||
setTimeout(function () { window.location.href = a.attr('href'); }, 3000);
|
||||
return false;
|
||||
});
|
||||
|
||||
|
|
Reference in New Issue