{% extends "layout.html.twig" %} {% set has_filters = form is not null %} {% set has_exports = craue_setting('export_epub') or craue_setting('export_pdf') or craue_setting('export_json') or craue_setting('export_csv') or craue_setting('export_txt') or craue_setting('export_xml') or craue_setting('export_md') %} {% block head %} {{ parent() }} {% if tag is defined and app.user.config.feedToken %} {% endif %} {% endblock %} {% block title %} {% set filter = '' %} {% if tag is defined %} {% set filter = tag.slug %} {% endif %} {% if searchTerm is defined and searchTerm is not empty %} {% set filter = searchTerm %} {% endif %} {% include "Entry/_title.html.twig" with {'filter': filter} %} {% endblock %} {% block nav_panel_extra_actions %} {% if active_route %}
  • casino
  • {% endif %} {% if has_filters %}
  • filter_list
  • {% endif %} {% if has_exports %}
  • file_download
  • {% endif %} {% endblock %} {% block content %} {% set current_path = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %} {% set list_mode = app.user.config.listMode %} {% set entries_with_archived_class_routes = ['tag_entries', 'search', 'all'] %} {% set current_route = app.request.attributes.get('_route') %} {% if current_route == 'homepage' %} {% set current_route = 'unread' %} {% endif %}
    {{ 'entry.list.number_on_the_page'|trans({'%count%': entries.count}) }} {% if entries.count > 0 %} {% if list_mode == 0 %}view_list{% else %}view_module{% endif %} {% endif %} {% if entries.count > 0 and is_granted('EDIT_ENTRIES') %} {% endif %} {% if app.user.config.feedToken %} {% include "Entry/_feed_link.html.twig" %} {% endif %}
    {% if current_route == 'search' %}
    {{ 'entry.list.assign_search_tag'|trans }}
    {% endif %} {% if entries.getNbPages > 1 %} {{ pagerfanta(entries, 'default_wallabag') }} {% endif %}
    {% if entries.count > 0 %}
      {% for entry in entries %}
    1. {% if list_mode == 1 %} {% include "Entry/_card_list.html.twig" with {'entry': entry, 'currentRoute': current_route, 'routes': entries_with_archived_class_routes} only %} {% elseif not entry.previewPicture is null and entry.mimetype starts with 'image/' %} {% include "Entry/_card_full_image.html.twig" with {'entry': entry, 'currentRoute': current_route, 'routes': entries_with_archived_class_routes} only %} {% else %} {% include "Entry/_card_preview.html.twig" with {'entry': entry, 'currentRoute': current_route, 'routes': entries_with_archived_class_routes} only %} {% endif %}
    2. {% endfor %}
    {% endif %}
    {% if entries.getNbPages > 1 %}
    {{ pagerfanta(entries, 'default_wallabag') }}
    {% endif %} {% if has_exports %}
    {% set current_tag = null %} {% if tag is defined %} {% set current_tag = tag.slug %} {% endif %} {% set export_search_term = null %} {% if searchTerm is defined %} {% set export_search_term = searchTerm %} {% endif %} {% set entry = app.request.attributes.get('id') %} {% set previous_route = app.request.attributes.get('currentRoute') %}

    {{ 'entry.list.export_title'|trans }}

    {% endif %} {% if has_filters %}

    {{ 'entry.filters.title'|trans }}

    {% if current_route != 'untagged' %} {% endif %}
    {{ form_label(form.language) }}
    {{ form_widget(form.language) }}
    {{ form_label(form.httpStatus) }}
    {{ form_widget(form.httpStatus) }}
    {{ form_label(form.readingTime) }}
    {{ form_widget(form.readingTime.left_number, {'type': 'number'}) }}
    {{ form_widget(form.readingTime.right_number, {'type': 'number'}) }}
    {{ form_widget(form.domainName, {'type': 'text', 'attr': {'placeholder': 'website.com'}}) }} {{ form_label(form.domainName) }}
    {{ form_label(form.createdAt) }}
    {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'data-value': form.createdAt.left_date.vars.value}}) }}
    {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'data-value': form.createdAt.right_date.vars.value}}) }}
    {% endif %} {% endblock %}