mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Lost in translation pager
This commit is contained in:
parent
63995be5ee
commit
c95e39c51a
4 changed files with 3 additions and 11 deletions
|
@ -6,7 +6,7 @@ services:
|
|||
filesystem_cache:
|
||||
class: Doctrine\Common\Cache\FilesystemCache
|
||||
arguments:
|
||||
- %kernel.cache_dir%/doctrine/metadata
|
||||
- "%kernel.cache_dir%/doctrine/metadata"
|
||||
|
||||
twig.extension.text:
|
||||
class: Twig_Extensions_Extension_Text
|
||||
|
|
|
@ -114,11 +114,3 @@ services:
|
|||
class: Wallabag\CoreBundle\Operator\Doctrine\Matches
|
||||
tags:
|
||||
- { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true }
|
||||
|
||||
pagerfanta.view.wallabag_view:
|
||||
class: Pagerfanta\View\OptionableView
|
||||
arguments:
|
||||
- "@pagerfanta.view.twitter_bootstrap"
|
||||
- { proximity: 1 }
|
||||
public: false
|
||||
tags: [{ name: pagerfanta.view, alias: wallabag_view }]
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div>
|
||||
<div class="pagination">
|
||||
<a href="#" id="filter">{{ 'entry.filters.title'|trans }}</a>
|
||||
{{ pagerfanta(entries, 'wallabag_view') }}
|
||||
{{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<div class="nb-results left">
|
||||
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
|
||||
</div>
|
||||
{{ pagerfanta(entries, 'wallabag_view') }}
|
||||
{{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
<br />
|
||||
|
|
Loading…
Reference in a new issue