wallabag/templates/Import/Pocket/index.html.twig

38 lines
1.5 KiB
Twig
Raw Normal View History

2024-02-18 23:03:14 +00:00
{% extends "layout.html.twig" %}
{% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %}
2015-10-20 11:58:13 +00:00
{% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel settings">
2024-02-18 23:03:14 +00:00
{% include 'Import/_information.html.twig' %}
{% if not has_consumer_key %}
<div class="card-panel red white-text">
{{ 'import.pocket.config_missing.description'|trans }}
2022-05-03 21:28:20 +00:00
{{ 'import.pocket.config_missing.admin_message'|trans({'%keyurls%': '<a href="' ~ path('config') ~ '" class="white-text"><strong>', '%keyurle%': '</strong></a>'})|raw }}
</div>
{% endif %}
2016-01-06 05:34:57 +00:00
<blockquote>{{ import.description|trans }}</blockquote>
<p>{{ 'import.pocket.authorize_message'|trans }}</p>
<form method="post" action="{{ path('import_pocket_auth') }}">
<div class="row">
<div class="input-field col s6 with-checkbox">
<h6>{{ 'import.form.mark_as_read_title'|trans }}</h6>
{{ form_widget(form.mark_as_read) }}
{{ form_label(form.mark_as_read) }}
</div>
2016-02-13 13:32:16 +00:00
</div>
2016-09-16 20:22:25 +00:00
<button class="btn waves-effect waves-light" type="submit" name="action" {% if not has_consumer_key %}disabled="disabled"{% endif %}>
{{ 'import.pocket.connect_to_pocket'|trans }}
</button>
2015-10-20 11:58:13 +00:00
</form>
</div>
</div>
</div>
{% endblock %}