X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FImportBundle%2FResources%2Fviews%2FPocket%2Findex.html.twig;h=401dbd33ada03a5f0651c4cb81f32c4565c13f6f;hb=0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc;hp=643ad77548f698848f3b61faf0163184a807f570;hpb=39643c6b76d92d509b1af0228b6379d7fdce8a1c;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 643ad775..401dbd33 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -1,15 +1,36 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}Import > Pocket{% endtrans %}{% endblock %} + +{% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} {% block content %}
+ {% if not has_consumer_key %} +
+ {{ 'import.pocket.config_missing.description'|trans }} + + {% if is_granted('ROLE_SUPER_ADMIN') %} + {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '', '%keyurle%':''})|raw }} + {% else %} + {{ 'import.pocket.config_missing.user_message'|trans }} + {% endif %} +
+ {% 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 }}

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