mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
23 lines
703 B
Twig
23 lines
703 B
Twig
{% import 'prod/results/record.html.twig' as record_format %}
|
|
|
|
{% if results.getError() %}
|
|
<div>{{results.getError()}}</div>
|
|
{% else %}
|
|
{% if results.getWarning() %}
|
|
<div>{{results.getWarning()}}</div>
|
|
{% endif %}
|
|
|
|
{% if suggestions %}
|
|
{% set suggestions = suggestions|e %}
|
|
{% set link = '<a href="#" onclick="doSpecialSearch(\'' ~ suggestions ~ '\');return false;">' ~ suggestions ~ '</a>' %}
|
|
{% trans %}
|
|
Voulez-vous dire {{link}} ?
|
|
{% endtrans %}
|
|
<br/>
|
|
{% endif %}
|
|
{% set th_size = app['authentication'].getUser().getPrefs('images_size')%}
|
|
<div class="selectable" style="margin:10px 0; float:left;">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% endif %}
|