aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-12 20:38:56 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-12 20:38:56 +0200
commitc95e39c51ae914c89321371018642dbb69a3b851 (patch)
tree5c223089d1e2fede5112371fcf8f700f8aabe55b
parent63995be5ee248af5cb9381183afd8810202d7799 (diff)
downloadwallabag-c95e39c51ae914c89321371018642dbb69a3b851.tar.gz
wallabag-c95e39c51ae914c89321371018642dbb69a3b851.tar.zst
wallabag-c95e39c51ae914c89321371018642dbb69a3b851.zip
Lost in translation pager
-rw-r--r--app/config/services.yml2
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml8
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig2
4 files changed, 3 insertions, 11 deletions
diff --git a/app/config/services.yml b/app/config/services.yml
index e0683ffc..480408d9 100644
--- a/app/config/services.yml
+++ b/app/config/services.yml
@@ -6,7 +6,7 @@ services:
6 filesystem_cache: 6 filesystem_cache:
7 class: Doctrine\Common\Cache\FilesystemCache 7 class: Doctrine\Common\Cache\FilesystemCache
8 arguments: 8 arguments:
9 - %kernel.cache_dir%/doctrine/metadata 9 - "%kernel.cache_dir%/doctrine/metadata"
10 10
11 twig.extension.text: 11 twig.extension.text:
12 class: Twig_Extensions_Extension_Text 12 class: Twig_Extensions_Extension_Text
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 11d4d59b..6dc1f1d7 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -114,11 +114,3 @@ services:
114 class: Wallabag\CoreBundle\Operator\Doctrine\Matches 114 class: Wallabag\CoreBundle\Operator\Doctrine\Matches
115 tags: 115 tags:
116 - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } 116 - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true }
117
118 pagerfanta.view.wallabag_view:
119 class: Pagerfanta\View\OptionableView
120 arguments:
121 - "@pagerfanta.view.twitter_bootstrap"
122 - { proximity: 1 }
123 public: false
124 tags: [{ name: pagerfanta.view, alias: wallabag_view }]
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 8114c703..f00ade4e 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
@@ -8,7 +8,7 @@
8 <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div> 8 <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
9 <div class="pagination"> 9 <div class="pagination">
10 <a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a> 10 <a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a>
11 {{ pagerfanta(entries, 'wallabag_view') }} 11 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
12 </div> 12 </div>
13 </div> 13 </div>
14 {% endblock %} 14 {% endblock %}
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 f637136c..05cab954 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
@@ -21,7 +21,7 @@
21 <div class="nb-results left"> 21 <div class="nb-results left">
22 {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} 22 {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
23 </div> 23 </div>
24 {{ pagerfanta(entries, 'wallabag_view') }} 24 {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
25 </div> 25 </div>
26 {% endblock %} 26 {% endblock %}
27 <br /> 27 <br />