X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FResources%2Fviews%2FPocket%2Findex.html.twig;h=536e3d1aee341bc961a109980518b5c9599cbb98;hb=1093e979ff49f9072c30d1d576c6adf1f8e76bdf;hp=9803896cb0e800c6d2e891793e762cd3d89a8dd0;hpb=7019c7cf6c6af39c0f458769e20c3f9306477943;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig index 9803896c..536e3d1a 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -1,15 +1,34 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}Import > Pocket{% endtrans %}{% endblock %} + +{% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} {% block content %}
-
{{ import.description|raw }}
-

{% 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 %}

+ {% include 'WallabagImportBundle:Import:_information.html.twig' %} + + {% if not has_consumer_key %} +
+ {{ 'import.pocket.config_missing.description'|trans }} + + {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '', '%keyurle%':''})|raw }} +
+ {% endif %} + +
{{ import.description|trans }}
+

{{ 'import.pocket.authorize_message'|trans }}

+
-