# starred: 'Starred entries'
# archived: 'Archived entries'
# filtered: 'Filtered entries'
+ # filtered_tags: 'Filtered by tags'
list:
# number_on_the_page: '{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.'
reading_time: 'estimeret læsetid'
starred: 'Favorisierte Einträge'
archived: 'Archivierte Einträge'
filtered: 'Gefilterte Einträge'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} Es gibt keine Einträge.|{1} Es gibt einen Eintrag.|]1,Inf[ Es gibt %count% Einträge.'
reading_time: 'geschätzte Lesezeit'
starred: 'Starred entries'
archived: 'Archived entries'
filtered: 'Filtered entries'
+ filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} There are no entries.|{1} There is one entry.|]1,Inf[ There are %count% entries.'
reading_time: 'estimated reading time'
starred: 'Artículos favoritos'
archived: 'Artículos archivados'
filtered: 'Artículos filtrados'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} No hay artículos.|{1} Hay un artículo.|]1,Inf[ Hay %count% artículos.'
reading_time: 'tiempo estimado de lectura'
starred: 'مقالههای برگزیده'
archived: 'مقالههای بایگانیشده'
filtered: 'مقالههای فیلترشده'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} هیج مقالهای نیست.|{1} یک مقاله هست.|]1,Inf[ %count% مقاله هست.'
reading_time: 'زمان تخمینی برای خواندن'
starred: 'Articles favoris'
archived: 'Articles lus'
filtered: 'Articles filtrés'
+ filtered_tags: 'Articles filtrés par tags'
list:
number_on_the_page: "{0} Il n'y a pas d'articles.|{1} Il y a un article.|]1,Inf[ Il y a %count% articles."
reading_time: 'durée de lecture'
starred: 'Articles favorits'
archived: 'Articles legits'
filtered: 'Articles filtrats'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: "{0} I a pas cap d'article.|{1} I a un article.|]1,Inf[ I a %count% articles."
reading_time: 'durada de lectura'
starred: 'Wpisy oznaczone gwiazdką'
archived: 'Zarchiwizowane wpisy'
filtered: 'Odfiltrowane wpisy'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} Nie ma wpisów.|{1} Jest jeden wpis.|]1,Inf[ Są %count% wpisy.'
reading_time: 'szacunkowy czas czytania'
# starred: 'Starred entries'
# archived: 'Archived entries'
# filtered: 'Filtered entries'
+ # filtered_tags: 'Filtered by tags'
list:
# number_on_the_page: '{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.'
reading_time: 'timp estimat de citire'
# starred: 'Starred entries'
# archived: 'Archived entries'
# filtered: 'Filtered entries'
+ # filtered_tags: 'Filtered by tags'
list:
number_on_the_page: '{0} Herhangi bir makale yok.|{1} Burada bir adet makale var.|]1,Inf[ Burada %count% adet makale var.'
reading_time: 'tahmini okuma süresi'
{% extends "WallabagCoreBundle::layout.html.twig" %}
-{% block title %}{{ 'entry.page_titles.unread'|trans }}{% endblock %}
+{% block title %}
+ {% set currentRoute = app.request.attributes.get('_route') %}
+
+ {% if currentRoute == 'starred' %}
+ {{ 'entry.page_titles.starred'|trans }}
+ {% elseif currentRoute == 'archive' %}
+ {{ 'entry.page_titles.archived'|trans }}
+ {% elseif currentRoute == 'all' %}
+ {{ 'entry.page_titles.filtered'|trans }}
+ {% elseif currentRoute == 'tag_entries' %}
+ {{ 'entry.page_titles.filtered_tags'|trans }}
+ {% else %}
+ {{ 'entry.page_titles.unread'|trans }}
+ {% endif %}
+{% endblock %}
{% block content %}
{% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
+ {% block pager %}
+ <div class="results">
+ <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
+ <div class="pagination">
+ {% if form is not null %}<a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a>{% endif %}
+ {% if entries.getNbPages > 1 %}
+ {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
+ {% endif %}
+ </div>
+ </div>
+ {% endblock %}
+
{% for entry in entries %}
<div id="entry-{{ entry.id|e }}" class="entry">
<h2><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|raw }}</a></h2>
</div>
{% endfor %}
-
<!-- Export -->
<aside id="download-form">
{% set currentRoute = app.request.attributes.get('_route') %}
{% if craue_setting('export_xml') %}<li class="bold"><a class="waves-effect" href="{{ path('export_entries', { 'category': currentRoute, 'format': 'xml' }) }}">XML</a></li>{% endif %}
</ul>
</aside>
+
<!-- Filter -->
- <aside id="filter-form">
+ {% if form is not null %}
+ <aside id="filter-form" class="">
<form method="get" action="{{ path('all') }}">
<h2>{{ 'entry.filters.title'|trans }}</h2>
<a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">×</a>
</div>
</form>
</aside>
+ {% endif %}
{% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
{% endblock %}
<ul>
{% for tag in tags %}
- <li id="tag-{{ tag.id|e }}">{{tag.label}} ({{ tag.getEntriesByUserId(app.user.id) | length }})</li>
+ <li id="tag-{{ tag.id|e }}"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.entries.getValues | length }})</a></li>
{% endfor %}
</ul>
{% endblock %}
{{ 'entry.page_titles.archived'|trans }}
{% elseif currentRoute == 'all' %}
{{ 'entry.page_titles.filtered'|trans }}
+ {% elseif currentRoute == 'tag_entries' %}
+ {{ 'entry.page_titles.filtered_tags'|trans }}
{% else %}
{{ 'entry.page_titles.unread'|trans }}
{% endif %}
-
{% endblock %}
{% block content %}