Remove get_cgus function from login class

This commit is contained in:
Nicolas Le Goff
2013-07-05 18:39:31 +02:00
parent 870c832fb5
commit 1629c401bf
3 changed files with 6 additions and 8 deletions

View File

@@ -78,7 +78,7 @@
<li>
<a href="#">{% trans "Help" %}</a>
</li>
{% if login.get_cgus(app) is not empty %}
{% if app.hasTermsOfUse() %}
<li>
{% block tou_link %}
<a href="{{ path("login_cgus") }}">{% trans "Terms of use" %}</a>