mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 21:52:19 -05:00
23 lines
505 B
Twig
23 lines
505 B
Twig
{% extends layout %}
|
|
|
|
{% block content %}
|
|
{% set count = entries|length %}
|
|
|
|
{% if entries is empty %}
|
|
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
|
|
{% else %}
|
|
{{ 'msg.results'|transchoice(count) }}
|
|
{% for entry in entries %}
|
|
<div>
|
|
{{ entry.id }} - {{ entry.title }}
|
|
|
|
<p>{{ entry.content|striptags|slice(0, 300) }}...</p>
|
|
|
|
</div>
|
|
{% endfor %}
|
|
<p><a href="index.php/add">{{ 'entry.add'|trans }}</a></p>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|