Fix templates

This commit is contained in:
Romain Neutron
2013-07-10 18:18:06 +02:00
parent d57bf0fca9
commit 1b731253e3
3 changed files with 9 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
{% import "login/common/macros.html.twig" as auth_macro %} {% import "login/common/macros.html.twig" as auth_macro %}
{% block title %} {% block title %}
{{ app['phraseanet.registry']->get('GV_homeTitle') }} {{ app['phraseanet.registry'].get('GV_homeTitle') }}
{% endblock %} {% endblock %}
{% block header_rss %} {% block header_rss %}

View File

@@ -41,7 +41,7 @@
{% endblock header %} {% endblock header %}
</head> </head>
<body> <body>
{% if app['phraseanet.registry']->get('GV_display_gcf') %} {% if app['phraseanet.registry'].get('GV_display_gcf') %}
<!--[if lt IE 7]> <!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]--> <![endif]-->

View File

@@ -126,13 +126,13 @@
<div class="Feedback" style="display:none;"> <div class="Feedback" style="display:none;">
<label for="PushSendFormDuration">{% trans %}Time for feedback (days){% endtrans %}</label> <label for="PushSendFormDuration">{% trans %}Time for feedback (days){% endtrans %}</label>
<select id="PushSendFormDuration" name="duration" class="input-block-level"> <select id="PushSendFormDuration" name="duration" class="input-block-level">
<option {% if 20 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="20">20</option> <option {% if 20 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="20">20</option>
<option {% if 15 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="15">15</option> <option {% if 15 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="15">15</option>
<option {% if 10 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="10">10</option> <option {% if 10 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="10">10</option>
<option {% if 5 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="5">5</option> <option {% if 5 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="5">5</option>
<option {% if 3 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="3">3</option> <option {% if 3 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="3">3</option>
<option {% if 2 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="2">2</option> <option {% if 2 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="2">2</option>
<option {% if 1 == app['phraseanet.registry']->get('GV_val_expiration') %}selected="selected"{% endif %} value="1">1</option> <option {% if 1 == app['phraseanet.registry'].get('GV_val_expiration') %}selected="selected"{% endif %} value="1">1</option>
</select> </select>
</div> </div>
<div> <div>