+
+ <ul class="tools links">
+ <li><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.list.original_article'|trans }} : {{ entry.title|e }}"><span>{{ entry.domainName|removeWww }}</span></a></li>
+ <li><a title="{{ 'entry.list.toogle_as_read'|trans }}" class="tool icon {% if entry.isArchived == 0 %}archive-off{% else %}archive{% endif %}" href="{{ path('archive_entry', { 'id': entry.id }) }}"><i class="material-icons md-24 vertical-align-middle">check</i><span>{{ 'entry.list.toogle_as_read'|trans }}</span></a></li>
+ <li><a title="{{ 'entry.list.toogle_as_star'|trans }}" class="tool icon {% if entry.isStarred == 0 %}fav-off{% else %}fav{% endif %}" href="{{ path('star_entry', { 'id': entry.id }) }}"><i class="material-icons md-24 vertical-align-middle">star_rate</i><span>{{ 'entry.list.toogle_as_star'|trans }}</span></a></li>
+ <li><a title="{{ 'entry.list.delete'|trans }}" class="tool icon" href="{{ path('delete_entry', { 'id': entry.id }) }}"><i class="material-icons md-24 vertical-align-middle">delete</i><span>{{ 'entry.list.delete'|trans }}</span></a></li>
+ </ul>
+ {% if (entry.previewPicture is null or listMode == 1) %}
+ <ul class="card-entry-tags">
+ {% for tag in entry.tags %}
+ <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
+ {% endfor %}
+ </ul>
+ <p {% if listMode == 1 %}class="hide"{% endif %}>{{ entry.content|striptags|slice(0, 300) }}…</p>
+ {% else %}
+ <ul class="card-entry-labels">
+ {% for tag in entry.tags | slice(0, 3) %}
+ <li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
+ {% endfor %}
+ </ul>
+ <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|e|raw }}" />
+ {% endif %}
+ </div>
+ {% endfor %}
+
+ {% if entries.getNbPages > 1 %}
+ {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
+ {% endif %}
+
+ <!-- Export -->
+ <aside id="download-form">
+ {% set currentRoute = app.request.attributes.get('_route') %}
+ {% set currentTag = '' %}
+ {% if tag is defined %}
+ {% set currentTag = tag %}
+ {% endif %}
+ {% if currentRoute == 'homepage' %}
+ {% set currentRoute = 'unread' %}