- <div class="card-panel red darken-1">
- {% trans %}Pocket import isn't configured.{% endtrans %}
- {% if is_granted('ROLE_SUPER_ADMIN') %}
- {% trans with {'%keyurls%': '<a href="' ~ path('craue_config_settings_modify') ~ '#set-import">', '%keyurle%':'</a>'} %}You need to define %keyurls% a pocket_consumer_key %keyurle%.{% endtrans %}
- {% else %}
- {% trans %}Your server admin needs to define an API Key for Pocket.{% endtrans %}
- {% endif %}
+ <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 }}