X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FResources%2Fviews%2FPocket%2Findex.html.twig;h=536e3d1aee341bc961a109980518b5c9599cbb98;hb=68cb89a5161351dd730871fc834bf147204a2a07;hp=d47dd8d52265b3a40a37dd3c2c4e1bfd1bc174ab;hpb=1f4408de9ed08f3b0fda45a93f1585c80feeb21d;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 d47dd8d5..536e3d1a 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -1,14 +1,35 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}import{% endtrans %}{% endblock %} -{% block content %} +{% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} +{% block content %}
- {% 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 }}

+ + +
+
+
{{ 'import.form.mark_as_read_title'|trans }}
+ {{ form_widget(form.mark_as_read) }} + {{ form_label(form.mark_as_read) }} +
+
+