1
0
mirror of https://github.com/moparisthebest/wallabag synced 2025-02-19 20:41:48 -05:00
wallabag/app/views/index.twig

20 lines
446 B
Twig
Raw Normal View History

2013-11-26 13:33:00 +01:00
{% extends layout %}
2014-01-15 13:23:44 +01:00
{% block title %}
{% if entries is defined %}
{% set count = entries|length %}
{% endif %}unread ({{count}}){% endblock %}
2014-01-09 15:25:31 +01:00
{% block content %}
2013-12-13 22:42:21 +01:00
{% if entries is empty %}
2014-01-15 13:23:44 +01:00
<div class="alert alert-info">{{ 'No link available here!'|trans }}</div>
2013-12-13 22:42:21 +01:00
{% else %}
2014-01-15 13:23:44 +01:00
<section id="listing" class="items">
2013-12-13 22:42:21 +01:00
{% for entry in entries %}
2014-01-14 15:00:11 +01:00
{% include "_entry.twig" %}
2013-12-13 22:42:21 +01:00
{% endfor %}
2014-01-15 13:23:44 +01:00
</section>
2013-12-13 22:42:21 +01:00
{% endif %}
2013-12-13 17:21:50 +01:00
{% endblock %}