1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-15 21:55:09 -05:00
wallabag/app/views/index.twig
2013-12-13 23:12:08 +01:00

20 lines
416 B
Twig

{% extends layout %}
{% block content %}
{% if entries is empty %}
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
{% else %}
{% for entry in entries %}
{{ entry.id }} - {{ entry.title }}
<p>{{ entry.content|striptags|slice(0, 300) }}...</p>
{% endfor %}
<p><a href="index.php/add">{{ 'poche a new link'|trans }}</a></p>
{% endif %}
{% endblock %}