mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Display tous link if present only, add link to homepage
This commit is contained in:

committed by
Romain Neutron

parent
3bd8190b27
commit
77f8e22460
@@ -1,3 +1,5 @@
|
||||
{# variable "login" a login object #}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]> <html ng-app="phraseanetAuthentication" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html ng-app="phraseanetAuthentication" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
@@ -89,9 +91,17 @@
|
||||
{% block footer_content %}
|
||||
<div class="footer-block">
|
||||
<ul class="inline footer-list unstyled">
|
||||
<li class="item-first" >{% trans "Home" %}</li>
|
||||
<li>{% trans "Help" %}</li>
|
||||
<li><a href="{{ path("login_cgus") }}">{% trans "Terms of use" %}</a></li>
|
||||
<li class="item-first" >
|
||||
<a href="{{ path("homepage") }}">{% trans "Home" %}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">{% trans "Help" %}</a>
|
||||
</li>
|
||||
{% if login.get_cgus(app) is not empty %}
|
||||
<li>
|
||||
<a href="{{ path("login_cgus") }}">{% trans "Terms of use" %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>© Copyright Alchemy 2005-{{ "now"|date("Y") }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -108,8 +118,6 @@
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
</div><!--/.fluid-container-->
|
||||
{% block javascript %}
|
||||
|
||||
{% endblock %}
|
||||
{% include 'common/analytics.html.twig' %}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user