- <blockquote>{{ import.description|raw }}</blockquote>
- <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>
+ {% include 'WallabagImportBundle:Import:_information.html.twig' %}
+
+ {% if not has_consumer_key %}
+ <div class="card-panel red white-text">
+ {{ 'import.pocket.config_missing.description'|trans }}
+
+ {{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('config') ~ '">', '%keyurle%':'</a>'})|raw }}
+ </div>
+ {% endif %}
+
+ <blockquote>{{ import.description|trans }}</blockquote>
+ <p>{{ 'import.pocket.authorize_message'|trans }}</p>
+