X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FResources%2Fviews%2FPocket%2Findex.html.twig;h=536e3d1aee341bc961a109980518b5c9599cbb98;hb=f17b89fadce0a8c2280fbe1518d66f20dddce59d;hp=3365fc6af1abe0a4ee455254ddaaceb433e4b6dd;hpb=c10fcb3bbbd4ef14edd9a862ee18c895d92e30ae;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 3365fc6a..536e3d1a 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -1,33 +1,34 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}Import > Pocket{% endtrans %}{% endblock %} + +{% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} {% block content %}
+ {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% if not has_consumer_key %} -
- {% trans %}Pocket import isn't configured.{% endtrans %} - {% if is_granted('ROLE_SUPER_ADMIN') %} - {% trans with {'%keyurls%': '', '%keyurle%':''} %}You need to define %keyurls% a pocket_consumer_key %keyurle%.{% endtrans %} - {% else %} - {% trans %}Your server admin needs to define an API Key for Pocket.{% endtrans %} - {% endif %} +
+ {{ 'import.pocket.config_missing.description'|trans }} + + {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '', '%keyurle%':''})|raw }}
{% 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 %}

+

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

+
-
-
-
{% trans %}Mark all as read ?{% endtrans %}
- {{ form_widget(form.read) }} - +
+
+
{{ 'import.form.mark_as_read_title'|trans }}
+ {{ form_widget(form.mark_as_read) }} + {{ form_label(form.mark_as_read) }} +
-
-