2016-09-11 18:22:38 +00:00
|
|
|
{% set redis = craue_setting('import_with_redis') %}
|
|
|
|
{% set rabbit = craue_setting('import_with_rabbitmq') %}
|
2022-05-03 21:28:20 +00:00
|
|
|
{% set download_images = craue_setting('download_images_enabled') %}
|
2016-09-11 18:22:38 +00:00
|
|
|
|
|
|
|
{% if redis or rabbit %}
|
|
|
|
<div class="card-panel yellow darken-1 black-text">
|
|
|
|
{{ 'import.worker.enabled'|trans }} <strong>{% if rabbit %}RabbitMQ{% elseif redis %}Redis{% endif %}</strong>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-11-03 14:59:18 +00:00
|
|
|
|
2022-05-03 21:28:20 +00:00
|
|
|
{% if not redis and not rabbit and download_images %}
|
2016-11-03 14:59:18 +00:00
|
|
|
<div class="card-panel orange darken-1 black-text">
|
|
|
|
{{ 'import.worker.download_images_warning'|trans|raw }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|