]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/ImportBundle/Resources/views/Import/_information.html.twig
Added configuration documentation for mobile apps
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Resources / views / Import / _information.html.twig
1 {% set redis = craue_setting('import_with_redis') %}
2 {% set rabbit = craue_setting('import_with_rabbitmq') %}
3 {% set downloadImages = craue_setting('download_images_enabled') %}
4
5 {% if redis or rabbit %}
6 <div class="card-panel yellow darken-1 black-text">
7 {{ 'import.worker.enabled'|trans }} <strong>{% if rabbit %}RabbitMQ{% elseif redis %}Redis{% endif %}</strong>
8 </div>
9 {% endif %}
10
11 {% if not redis and not rabbit and downloadImages %}
12 <div class="card-panel orange darken-1 black-text">
13 {{ 'import.worker.download_images_warning'|trans|raw }}
14 </div>
15 {% endif %}