]>
Commit | Line | Data |
---|---|---|
1f4408de | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
7019c7cf | 2 | {% block title %}{% trans %}Import > Pocket{% endtrans %}{% endblock %} |
1f4408de NL |
3 | |
4 | {% block content %} | |
1f4408de NL |
5 | <div class="row"> |
6 | <div class="col s12"> | |
7 | <div class="card-panel settings"> | |
1e3ed714 JB |
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 | ||
b88cf91f | 14 | <blockquote>{{ import.description|trans }}</blockquote> |
7019c7cf | 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> |
252ebd60 | 16 | <form method="post" action="{{ path('import_pocket_auth') }}"> |
7019c7cf | 17 | <button class="btn waves-effect waves-light" type="submit" name="action"> |
d1af8ad4 | 18 | {% trans %}Connect to Pocket and import data{% endtrans %} |
7019c7cf | 19 | </button> |
1f4408de NL |
20 | </form> |
21 | </div> | |
22 | </div> | |
23 | </div> | |
24 | {% endblock %} |