aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-17 18:02:54 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-17 18:02:54 +0200
commit2ba06b1ee2d7b3e6a1fc769501d5cc7df9f8abdf (patch)
treeba1fed39a2f34a7a635e8d552f10f4bbb69136b7
parent925d8ab316127be8dc0cea2515cfc1d419b1d5e8 (diff)
downloadwallabag-2ba06b1ee2d7b3e6a1fc769501d5cc7df9f8abdf.tar.gz
wallabag-2ba06b1ee2d7b3e6a1fc769501d5cc7df9f8abdf.tar.zst
wallabag-2ba06b1ee2d7b3e6a1fc769501d5cc7df9f8abdf.zip
check if one entry or not
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index d0ebdad6..cb34c3f3 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -17,7 +17,7 @@
17 {% block pager %} 17 {% block pager %}
18 {% if entries is not empty %} 18 {% if entries is not empty %}
19 <div class="results clearfix"> 19 <div class="results clearfix">
20 <div class="nb-results left">{{ entries.count }} {% trans %}entries{% endtrans %}</div> 20 <div class="nb-results left">{{ entries.count }} {% trans %}entrie{% endtrans %}{% if entries.nbPages > 1 %}s{% endif %}</div>
21 <ul class="pagination right"> 21 <ul class="pagination right">
22 {% for p in range(1, entries.nbPages) if entries.nbPages > 1 %} 22 {% for p in range(1, entries.nbPages) if entries.nbPages > 1 %}
23 <li class="{{ currentPage == p ? 'active':'waves-effect'}}"> 23 <li class="{{ currentPage == p ? 'active':'waves-effect'}}">
@@ -86,14 +86,6 @@
86 <div class="col s12"> 86 <div class="col s12">
87 <label>{% trans %}Create at{% endtrans %}</label> 87 <label>{% trans %}Create at{% endtrans %}</label>
88 </div> 88 </div>
89 <div class="input-field col s6">
90 {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value} }) }}
91 <label for="entry_filter_createdAt_left_date" class="active">{% trans %}from{% endtrans %}</label>
92 </div>
93 <div class="input-field col s6">
94 {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value} }) }}
95 <label for="entry_filter_createdAt_right_date" class="active">{% trans %}to{% endtrans %}</label>
96 </div>
97 89
98 <div class="col s6"> 90 <div class="col s6">
99 <a href="#!" class="center waves-effect waves-green btn-flat" id="clean_form_filters">{% trans %}Clean{% endtrans %}</a> 91 <a href="#!" class="center waves-effect waves-green btn-flat" id="clean_form_filters">{% trans %}Clean{% endtrans %}</a>