aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
index 86c1c5ec..d1baa283 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
@@ -9,7 +9,17 @@
9{% endblock %} 9{% endblock %}
10 10
11{% block content %} 11{% block content %}
12 {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} 12
13 <div class="results">
14 <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
15 <div class="pagination">
16 <i class="btn-clickable download-btn material-icons md-36">file_download</i>
17 <i class="btn-clickable filter-btn material-icons md-36">filter_list</i>
18 {% if entries.getNbPages > 1 %}
19 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
20 {% endif %}
21 </div>
22 </div>
13 23
14 {% for entry in entries %} 24 {% for entry in entries %}
15 <div id="entry-{{ entry.id|e }}" class="entry"> 25 <div id="entry-{{ entry.id|e }}" class="entry">
@@ -24,6 +34,11 @@
24 {{ 'entry.list.reading_time_less_one_minute'|trans|raw }} 34 {{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
25 {% endif %} 35 {% endif %}
26 </span> 36 </span>
37 <span class="tool created-at">
38 <i class="tool icon icon-calendar" title="{{ 'entry.view.created_at'|trans }}">
39 {{ entry.createdAt|date('Y-m-d') }}
40 </i>
41 </span>
27 </div> 42 </div>
28 43
29 <ul class="tools links"> 44 <ul class="tools links">
@@ -50,6 +65,10 @@
50 </div> 65 </div>
51 {% endfor %} 66 {% endfor %}
52 67
68 {% if entries.getNbPages > 1 %}
69 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
70 {% endif %}
71
53 <!-- Export --> 72 <!-- Export -->
54 <aside id="download-form"> 73 <aside id="download-form">
55 {% set currentRoute = app.request.attributes.get('_route') %} 74 {% set currentRoute = app.request.attributes.get('_route') %}
@@ -75,7 +94,7 @@
75 94
76 <!-- Filter --> 95 <!-- Filter -->
77 {% if form is not null %} 96 {% if form is not null %}
78 <div id="filters" class=""> 97 <div id="filters">
79 <form method="get" action="{{ path('all') }}"> 98 <form method="get" action="{{ path('all') }}">
80 <h2>{{ 'entry.filters.title'|trans }}</h2> 99 <h2>{{ 'entry.filters.title'|trans }}</h2>
81 <a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">&times;</a> 100 <a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">&times;</a>