aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Resources
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-25 11:36:59 +0200
committerGitHub <noreply@github.com>2016-09-25 11:36:59 +0200
commit9d7dd6b0d2480d3efff5b0ab1461f2ef99bfd57a (patch)
tree18dfb21ca8e417343d844eb5f5f09fd6b9a11130 /src/Wallabag/ImportBundle/Resources
parent637aa17e6b52dd8021854a809053560a27caca72 (diff)
parent0e0102b6fcd17266f39dd63a808740d01ab9bd8a (diff)
downloadwallabag-9d7dd6b0d2480d3efff5b0ab1461f2ef99bfd57a.tar.gz
wallabag-9d7dd6b0d2480d3efff5b0ab1461f2ef99bfd57a.tar.zst
wallabag-9d7dd6b0d2480d3efff5b0ab1461f2ef99bfd57a.zip
Merge pull request #2306 from wallabag/redis-rabbit-check
Some checks about Redis & RabbitMQ
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r--src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig b/src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig
index 7168ea35..a2633698 100644
--- a/src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig
+++ b/src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig
@@ -1,11 +1,23 @@
1{% if nbRedisMessages > 0 %} 1{% if nbRedisMessages is defined and nbRedisMessages > 0 %}
2 <script> 2 <script>
3 Materialize.toast('Messages in queue: {{ nbRedisMessages }}', 4000); 3 Materialize.toast('Messages in queue: {{ nbRedisMessages }}', 4000);
4 </script> 4 </script>
5{% endif %} 5{% endif %}
6 6
7{% if nbRabbitMessages > 0 %} 7{% if nbRabbitMessages is defined and nbRabbitMessages > 0 %}
8 <script> 8 <script>
9 Materialize.toast('Messages in queue: {{ nbRabbitMessages }}', 4000); 9 Materialize.toast('Messages in queue: {{ nbRabbitMessages }}', 4000);
10 </script> 10 </script>
11{% endif %} 11{% endif %}
12
13{% if redisNotInstalled is defined and redisNotInstalled %}
14 <div class="card-panel red darken-1 white-text">
15 {{ 'flashes.import.error.redis_enabled_not_installed'|trans|raw }}
16 </div>
17{% endif %}
18
19{% if rabbitNotInstalled is defined and rabbitNotInstalled %}
20 <div class="card-panel red darken-1 white-text">
21 {{ 'flashes.import.error.rabbit_enabled_not_installed'|trans|raw }}
22 </div>
23{% endif %}