1 {% extends "WallabagCoreBundle::layout.html.twig" %}
3 {% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %}
8 <div class="card-panel settings">
9 {% include 'WallabagImportBundle:Import:_workerEnabled.html.twig' %}
11 {% if not has_consumer_key %}
12 <div class="card-panel red white-text">
13 {{ 'import.pocket.config_missing.description'|trans }}
15 {% if is_granted('ROLE_SUPER_ADMIN') %}
16 {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('craue_config_settings_modify') ~ '#set-import">', '%keyurle%':'</a>'})|raw }}
18 {{ 'import.pocket.config_missing.user_message'|trans }}
23 <blockquote>{{ import.description|trans }}</blockquote>
24 <p>{{ 'import.pocket.authorize_message'|trans }}</p>
26 <form method="post" action="{{ path('import_pocket_auth') }}">
28 <div class="input-field col s6 with-checkbox">
29 <h6>{{ 'import.form.mark_as_read_title'|trans }}</h6>
30 {{ form_widget(form.mark_as_read) }}
31 {{ form_label(form.mark_as_read) }}
34 <button class="btn waves-effect waves-light" type="submit" name="action">
35 {{ 'import.pocket.connect_to_pocket'|trans }}