X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FImportBundle%2FResources%2Fviews%2FPocket%2Findex.html.twig;h=536e3d1aee341bc961a109980518b5c9599cbb98;hb=5a619812ca3eb05a82a023ccdaee13501eb8d45f;hp=df64e472c06bd01e5b80ef63f67657889f1f7102;hpb=0aa344dc247c77376fcbf2112191f9f8b3dfc846;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 df64e472..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) }} +
+
+