]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig
Merge pull request #1666 from wallabag/v2-reimport-v1-articles-if-not-fetched
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Resources / views / Pocket / index.html.twig
1 {% extends "WallabagCoreBundle::layout.html.twig" %}
2 {% block title %}{% trans %}Import > Pocket{% endtrans %}{% endblock %}
3
4 {% block content %}
5 <div class="row">
6 <div class="col s12">
7 <div class="card-panel settings">
8 {% if not has_consumer_key %}
9 <div class="card-panel red darken-1">
10 {% trans %}Pocket import isn't configured. You need to define pocket_consumer_key.{% endtrans %}
11 </div>
12 {% endif %}
13
14 <blockquote>{{ import.description|trans }}</blockquote>
15 <p>{% 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 %}</p>
16 <form method="post" action="{{ path('import_pocket_auth') }}">
17 <button class="btn waves-effect waves-light" type="submit" name="action">
18 {% trans %}Connect to Pocket and import data{% endtrans %}
19 </button>
20 </form>
21 </div>
22 </div>
23 </div>
24 {% endblock %}