aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Resources/views
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-13 20:31:32 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-13 20:32:52 +0200
commite01a3c98d6908e95121b5ade0161f40af1b05ca6 (patch)
treee8cba50cc7cbf07720ddae7647d5c07e3e245f04 /src/Wallabag/ImportBundle/Resources/views
parent5d002e9bdfd814e77e5842fe6c18d14f74493726 (diff)
downloadwallabag-e01a3c98d6908e95121b5ade0161f40af1b05ca6.tar.gz
wallabag-e01a3c98d6908e95121b5ade0161f40af1b05ca6.tar.zst
wallabag-e01a3c98d6908e95121b5ade0161f40af1b05ca6.zip
Display how many messages are queue
- update the docker-composer to add Redis - add migrations
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources/views')
-rw-r--r--src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig11
1 files changed, 11 insertions, 0 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
new file mode 100644
index 00000000..7168ea35
--- /dev/null
+++ b/src/Wallabag/ImportBundle/Resources/views/Import/check_queue.html.twig
@@ -0,0 +1,11 @@
1{% if nbRedisMessages > 0 %}
2 <script>
3 Materialize.toast('Messages in queue: {{ nbRedisMessages }}', 4000);
4 </script>
5{% endif %}
6
7{% if nbRabbitMessages > 0 %}
8 <script>
9 Materialize.toast('Messages in queue: {{ nbRabbitMessages }}', 4000);
10 </script>
11{% endif %}