mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Display a message when async is enabled
This commit is contained in:
parent
7230e4c39f
commit
dc69e25f97
15 changed files with 37 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
|||
{% set redis = craue_setting('import_with_redis') %}
|
||||
{% set rabbit = craue_setting('import_with_rabbitmq') %}
|
||||
|
||||
{% 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 %}
|
|
@ -6,8 +6,10 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-panel settings">
|
||||
{% include 'WallabagImportBundle:Import:_workerEnabled.html.twig' %}
|
||||
|
||||
{% if not has_consumer_key %}
|
||||
<div class="card-panel red darken-1">
|
||||
<div class="card-panel red white-text">
|
||||
{{ 'import.pocket.config_missing.description'|trans }}
|
||||
|
||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-panel settings">
|
||||
{% include 'WallabagImportBundle:Import:_workerEnabled.html.twig' %}
|
||||
|
||||
<div class="row">
|
||||
<blockquote>{{ import.description|trans }}</blockquote>
|
||||
<p>{{ 'import.readability.how_to'|trans }}</p>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card-panel settings">
|
||||
{% include 'WallabagImportBundle:Import:_workerEnabled.html.twig' %}
|
||||
|
||||
<div class="row">
|
||||
<blockquote>{{ import.description|trans }}</blockquote>
|
||||
<p>{{ 'import.wallabag_v1.how_to'|trans }}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue