From 1e3ed714707878caa603ffdc262e64abb6ddfb5c Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 21 Jan 2016 10:59:21 +0100 Subject: Add warning message for PocketImport Warn user if pocket_consumer_key isn't defined --- src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Wallabag/ImportBundle/Resources') diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig index 643ad775..e0e36f38 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -5,6 +5,12 @@
+ {% if not has_consumer_key %} +
+ {% trans %}Pocket import isn't configured. You need to define pocket_consumer_key.{% endtrans %} +
+ {% endif %} +
{{ import.description|trans }}

{% trans %}You can import your data from your Pocket account. You just have to click on the below button and authorize the application to connect to getpocket.com.{% endtrans %}

-- cgit v1.2.3