]>
Commit | Line | Data |
---|---|---|
1f4408de | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
0d42217e JB |
2 | |
3 | {% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} | |
1f4408de NL |
4 | |
5 | {% block content %} | |
1f4408de NL |
6 | <div class="row"> |
7 | <div class="col s12"> | |
8 | <div class="card-panel settings"> | |
ca08d02f | 9 | {% include 'WallabagImportBundle:Import:_information.html.twig' %} |
dc69e25f | 10 | |
1e3ed714 | 11 | {% if not has_consumer_key %} |
dc69e25f | 12 | <div class="card-panel red white-text"> |
0d42217e JB |
13 | {{ 'import.pocket.config_missing.description'|trans }} |
14 | ||
ebe0787e | 15 | {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('config') ~ '">', '%keyurle%':'</a>'})|raw }} |
1e3ed714 JB |
16 | </div> |
17 | {% endif %} | |
18 | ||
b88cf91f | 19 | <blockquote>{{ import.description|trans }}</blockquote> |
0d42217e JB |
20 | <p>{{ 'import.pocket.authorize_message'|trans }}</p> |
21 | ||
252ebd60 | 22 | <form method="post" action="{{ path('import_pocket_auth') }}"> |
0d42217e JB |
23 | <div class="row"> |
24 | <div class="input-field col s6 with-checkbox"> | |
25 | <h6>{{ 'import.form.mark_as_read_title'|trans }}</h6> | |
26 | {{ form_widget(form.mark_as_read) }} | |
27 | {{ form_label(form.mark_as_read) }} | |
28 | </div> | |
c10fcb3b | 29 | </div> |
ebe0787e | 30 | <button class="btn waves-effect waves-light" type="submit" name="action" {% if not has_consumer_key %}disabled="disabled"{% endif %}> |
0d42217e | 31 | {{ 'import.pocket.connect_to_pocket'|trans }} |
7019c7cf | 32 | </button> |
1f4408de NL |
33 | </form> |
34 | </div> | |
35 | </div> | |
36 | </div> | |
37 | {% endblock %} |