wallabag/templates/Import/index.html.twig

31 lines
958 B
Twig
Raw Normal View History

2024-02-19 00:03:14 +01:00
{% extends "layout.html.twig" %}
{% block title %}{{ 'import.page_title'|trans }}{% endblock %}
2016-12-08 16:42:48 +01:00
{% block messages %}
2024-02-19 01:30:12 +01:00
{{ render(controller('Wallabag\\Controller\\Import\\ImportController::checkQueueAction')) }}
2016-12-08 16:42:48 +01:00
{{ parent() }}
{% endblock %}
{% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel settings">
2024-02-19 00:03:14 +01:00
{% include 'Import/_information.html.twig' %}
{{ 'import.page_description'|trans }}
<ul>
{% for import in imports %}
<li>
<h5>{{ import.name }}</h5>
<blockquote>{{ import.description|trans|raw }}</blockquote>
<p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">{{ 'import.action.import_contents'|trans }}</a></p>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endblock %}