Add simple stats in footer

This commit is contained in:
Jeremy Benoist
2016-10-01 15:58:26 +02:00
parent 114c55c0a6
commit 1264029cd4
15 changed files with 82 additions and 5 deletions

View File

@ -45,6 +45,7 @@ footer:
# social: 'Social'
# powered_by: 'powered by'
about: 'Om'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Opsætning'

View File

@ -45,6 +45,7 @@ footer:
social: 'Soziales'
powered_by: 'angetrieben von'
about: 'Über'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Einstellungen'

View File

@ -45,6 +45,7 @@ footer:
social: 'Social'
powered_by: 'powered by'
about: 'About'
stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Config'

View File

@ -45,6 +45,7 @@ footer:
social: 'Social'
powered_by: 'funciona por'
about: 'Acerca de'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Configuración'

View File

@ -45,6 +45,7 @@ footer:
social: 'شبکه‌های اجتماعی'
powered_by: 'توانمند با'
about: 'درباره'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'پیکربندی'

View File

@ -45,6 +45,7 @@ footer:
social: 'Social'
powered_by: 'propulsé par'
about: 'À propos'
stats: Depuis le %user_creation% vous avez lu %nb_archives% articles. Ce qui fait %per_day% par jour !
config:
page_title: 'Configuration'

View File

@ -45,6 +45,7 @@ footer:
social: 'Social'
powered_by: 'powered by'
about: 'About'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Configurazione'

View File

@ -45,9 +45,10 @@ footer:
social: 'Social'
powered_by: 'propulsat per'
about: 'A prepaus'
page_title: 'Configuracion'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Configuracion'
tab_menu:
settings: 'Paramètres'
rss: 'RSS'

View File

@ -45,6 +45,7 @@ footer:
social: 'Społeczność'
powered_by: 'Kontrolowany przez'
about: 'O nas'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Konfiguracja'

View File

@ -45,6 +45,7 @@ footer:
# social: 'Social'
# powered_by: 'powered by'
about: 'Despre'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Configurație'

View File

@ -45,6 +45,7 @@ footer:
social: 'Sosyal'
powered_by: 'powered by'
about: 'Hakkımızda'
# stats: Since %user_creation% you read %nb_archives% articles. That is about %per_day% a day!
config:
page_title: 'Yapılandırma'

View File

@ -122,8 +122,19 @@
<footer class="page-footer cyan darken-2">
<div class="footer-copyright">
<div class="container">
<p>{{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p>
<a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans }}</a>
<div class="row">
<div class="col s8">
<p>
{{ display_stats() }}
</p>
</div>
<div class="col s4">
<p>
{{ 'footer.wallabag.powered_by'|trans }} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a>
<a class="grey-text text-lighten-4" href="{{ path('about') }}">{{ 'footer.wallabag.about'|trans|lower }}</a>
</p>
</div>
</div>
</div>
</div>
</footer>