phpmyadmin/templates/theme_preview.twig
Maurício Meneghini Fauth 1aeed08e54 Use template for Theme::getPrintPreview method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-27 00:23:24 -02:00

17 lines
507 B
Twig

<div class="theme_preview">
<h2>
{{ name }} ({{ version }})
</h2>
<p>
<a class="take_theme" name="{{ id }}" href="index.php{{ Url_getCommon(url_params) }}">
{% if screen is not empty %}
<img src="{{ screen }}" alt="{{ name }}" title="{{ name }}">
<br>
{% else %}
{% trans 'No preview available.' %}
{% endif %}
[ <strong>{% trans 'Take it' %}</strong> ]
</a>
</p>
</div>