diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-15 09:43:48 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-07-09 19:05:48 +0200 |
commit | 378aaefbbf60698c7b8faafc20f6b8cb22357e31 (patch) | |
tree | d9bf0867797d4f4b60d117a050e1b72719e6f71a /app/config | |
parent | b5d7eb148c4cd62ff187b08765f0c13c7d330fcf (diff) | |
download | wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.gz wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.zst wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.zip |
Notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/services.yml | 9 | ||||
-rw-r--r-- | app/config/wallabag.yml | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/config/services.yml b/app/config/services.yml index 7b85d846..3b454760 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -13,14 +13,23 @@ services: | |||
13 | tags: | 13 | tags: |
14 | - { name: twig.extension } | 14 | - { name: twig.extension } |
15 | 15 | ||
16 | twig.extension.date: | ||
17 | class: Twig_Extensions_Extension_Date | ||
18 | arguments: | ||
19 | - "@translator" | ||
20 | tags: | ||
21 | - { name: twig.extension } | ||
22 | |||
16 | wallabag.twig_extension: | 23 | wallabag.twig_extension: |
17 | class: Wallabag\CoreBundle\Twig\WallabagExtension | 24 | class: Wallabag\CoreBundle\Twig\WallabagExtension |
18 | public: false | 25 | public: false |
19 | arguments: | 26 | arguments: |
20 | - "@wallabag_core.entry_repository" | 27 | - "@wallabag_core.entry_repository" |
21 | - "@wallabag_core.tag_repository" | 28 | - "@wallabag_core.tag_repository" |
29 | - "@wallabag_core.notification_repository" | ||
22 | - "@security.token_storage" | 30 | - "@security.token_storage" |
23 | - "%wallabag_core.cache_lifetime%" | 31 | - "%wallabag_core.cache_lifetime%" |
32 | - "%wallabag_core.notifications_nb%" | ||
24 | - "@translator" | 33 | - "@translator" |
25 | tags: | 34 | tags: |
26 | - { name: twig.extension } | 35 | - { name: twig.extension } |
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml index b45934e4..ab12d68a 100644 --- a/app/config/wallabag.yml +++ b/app/config/wallabag.yml | |||
@@ -22,6 +22,7 @@ wallabag_core: | |||
22 | cache_lifetime: 10 | 22 | cache_lifetime: 10 |
23 | action_mark_as_read: 1 | 23 | action_mark_as_read: 1 |
24 | list_mode: 0 | 24 | list_mode: 0 |
25 | notifications_nb: 5 | ||
25 | fetching_error_message_title: 'No title found' | 26 | fetching_error_message_title: 'No title found' |
26 | fetching_error_message: | | 27 | fetching_error_message: | |
27 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. | 28 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. |