summaryrefslogtreecommitdiffstats
path: root/virtualenv/pffedportal
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2012-07-11 16:13:55 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2012-07-11 16:13:55 (GMT)
commit6f399c6407f0a282b1c4a034c5906b728c790334 (patch)
tree54cfcfa80700837d2f8cecf49e448d0488d7711b /virtualenv/pffedportal
parentc94fc81d366a0fb2762637b27d0f7863658b36fe (diff)
downloadunivnautes-old-6f399c6407f0a282b1c4a034c5906b728c790334.zip
univnautes-old-6f399c6407f0a282b1c4a034c5906b728c790334.tar.gz
univnautes-old-6f399c6407f0a282b1c4a034c5906b728c790334.tar.bz2
disco: corrections...
Diffstat (limited to 'virtualenv/pffedportal')
-rw-r--r--virtualenv/pffedportal/templates/login0.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/virtualenv/pffedportal/templates/login0.html b/virtualenv/pffedportal/templates/login0.html
index f09cb34..630fe4a 100644
--- a/virtualenv/pffedportal/templates/login0.html
+++ b/virtualenv/pffedportal/templates/login0.html
@@ -16,11 +16,11 @@
<div id="authbuttons">
Choisissez votre établissement&nbsp;:<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&nbsp;:<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;
});