aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml6
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.da.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.de.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.en.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.es.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.fa.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.fr.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.it.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.oc.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.pl.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.pt.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.ro.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/date.tr.yml9
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.da.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.de.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.en.yml11
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.es.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.it.yml11
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml12
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig1
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig1
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig1
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig56
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig1
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig54
35 files changed, 374 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index e09b0f18..183b6690 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -129,6 +129,12 @@ services:
129 calls: 129 calls:
130 - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ] 130 - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ]
131 131
132 wallabag_core.notification_repository:
133 class: Wallabag\CoreBundle\Repository\NotificationRepository
134 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
135 arguments:
136 - WallabagCoreBundle:Notification
137
132 wallabag_core.helper.entries_export: 138 wallabag_core.helper.entries_export:
133 class: Wallabag\CoreBundle\Helper\EntriesExport 139 class: Wallabag\CoreBundle\Helper\EntriesExport
134 arguments: 140 arguments:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.da.yml b/src/Wallabag/CoreBundle/Resources/translations/date.da.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.da.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.de.yml b/src/Wallabag/CoreBundle/Resources/translations/date.de.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.de.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.en.yml b/src/Wallabag/CoreBundle/Resources/translations/date.en.yml
new file mode 100644
index 00000000..7bcd6d0c
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.en.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 empty: 'Now'
4 second: 'One second ago|%count% seconds ago'
5 minute: 'One minute ago|%count% minutes ago'
6 hour: 'One hour ago|%count% hours ago'
7 day: 'One day ago|%count% days ago'
8 month: 'One month ago|%count% months ago'
9 year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.es.yml b/src/Wallabag/CoreBundle/Resources/translations/date.es.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.es.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml
new file mode 100644
index 00000000..02eb96b0
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 empty: 'Maintenant'
4 second: 'Il y a une seconde|il y a %count% secondes'
5 minute: 'Il y a une minute|il y a %count% minutes'
6 hour: 'Il y a une heure|il y a %count% heures'
7 day: 'Il y a un jour|Il y a %count% jours'
8 month: 'Il y a un mois|il y a %count% mois'
9 year: 'Il y a un an|il y a %count% ans'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.it.yml b/src/Wallabag/CoreBundle/Resources/translations/date.it.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.it.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml
new file mode 100644
index 00000000..3797b6bf
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml
@@ -0,0 +1,9 @@
1diff:
2 ago:
3 # empty: 'Now'
4 # second: 'One second ago|%count% seconds ago'
5 # minute: 'One minute ago|%count% minutes ago'
6 # hour: 'One hour ago|%count% hours ago'
7 # day: 'One day ago|%count% days ago'
8 # month: 'One month ago|%count% months ago'
9 # year: 'One year ago|%count% years ago'
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
index 5229ac73..ad03fa91 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Søg' 38 search: 'Søg'
39 filter_entries: 'Filtrer artikler' 39 filter_entries: 'Filtrer artikler'
40 # export: 'Export' 40 # export: 'Export'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Indtast søgning' 43 input_label: 'Indtast søgning'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'Om' 266 page_title: 'Om'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
index 996f173a..f2d75a62 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Suche' 38 search: 'Suche'
39 filter_entries: 'Artikel filtern' 39 filter_entries: 'Artikel filtern'
40 export: 'Exportieren' 40 export: 'Exportieren'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Suchbegriff hier eingeben' 43 input_label: 'Suchbegriff hier eingeben'
43 44
@@ -250,6 +251,17 @@ entry:
250 delete: "Bist du sicher, dass du diesen Artikel löschen möchtest?" 251 delete: "Bist du sicher, dass du diesen Artikel löschen möchtest?"
251 delete_tag: "Bist du sicher, dass du diesen Tag vom Artikel entfernen möchtest?" 252 delete_tag: "Bist du sicher, dass du diesen Tag vom Artikel entfernen möchtest?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'Über' 266 page_title: 'Über'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
index aa1cd1a9..228dd87e 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Search' 38 search: 'Search'
39 filter_entries: 'Filter entries' 39 filter_entries: 'Filter entries'
40 export: 'Export' 40 export: 'Export'
41 notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Enter your search here' 43 input_label: 'Enter your search here'
43 44
@@ -250,6 +251,16 @@ entry:
250 delete: "Are you sure you want to remove that article?" 251 delete: "Are you sure you want to remove that article?"
251 delete_tag: "Are you sure you want to remove that tag from that article?" 252 delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254notifications:
255 sidebar:
256 view_more: 'View more'
257 list:
258 page_title: 'Notifications'
259 mark_all_as_read: 'Mark all as read'
260 none: "No notifications yet :'("
261 release:
262 title: "wallabag has been updated to version %version%"
263 details: "View update's details"
253about: 264about:
254 page_title: 'About' 265 page_title: 'About'
255 top_menu: 266 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
index 96998f53..28f064c7 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Buscar' 38 search: 'Buscar'
39 filter_entries: 'Filtrar los artículos' 39 filter_entries: 'Filtrar los artículos'
40 export: 'Exportar' 40 export: 'Exportar'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Introduzca su búsqueda aquí' 43 input_label: 'Introduzca su búsqueda aquí'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'Acerca de' 266 page_title: 'Acerca de'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
index 57e6c029..4496a2f2 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'جستجو' 38 search: 'جستجو'
39 filter_entries: 'فیلترکردن مقاله‌ها' 39 filter_entries: 'فیلترکردن مقاله‌ها'
40 export: 'برون‌بری' 40 export: 'برون‌بری'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'جستجوی خود را این‌جا بنویسید:' 43 input_label: 'جستجوی خود را این‌جا بنویسید:'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'درباره' 266 page_title: 'درباره'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
index 6eac4c36..8bccc8a4 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
@@ -38,6 +38,7 @@ menu:
38 search: "Rechercher" 38 search: "Rechercher"
39 filter_entries: "Filtrer les articles" 39 filter_entries: "Filtrer les articles"
40 export: "Exporter" 40 export: "Exporter"
41 notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: "Saisissez votre terme de recherche" 43 input_label: "Saisissez votre terme de recherche"
43 44
@@ -250,6 +251,17 @@ entry:
250 delete: "Voulez-vous vraiment supprimer cet article ?" 251 delete: "Voulez-vous vraiment supprimer cet article ?"
251 delete_tag: "Voulez-vous vraiment supprimer ce tag de cet article ?" 252 delete_tag: "Voulez-vous vraiment supprimer ce tag de cet article ?"
252 253
254notifications:
255 sidebar:
256 view_more: 'Voir plus'
257 list:
258 page_title: 'Notifications'
259 mark_all_as_read: 'Marquer tout comme lu'
260 none: "Aucune notification pour le moment :'("
261 release:
262 title: "wallabag a été mis à jour vers la version %version%"
263 details: "Voir les détails de la mise à jour"
264
253about: 265about:
254 page_title: "À propos" 266 page_title: "À propos"
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
index 4e26f38c..c404b3e5 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Cerca' 38 search: 'Cerca'
39 filter_entries: 'Filtra contenuti' 39 filter_entries: 'Filtra contenuti'
40 export: 'Esporta' 40 export: 'Esporta'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Inserisci qui la tua ricerca' 43 input_label: 'Inserisci qui la tua ricerca'
43 44
@@ -250,6 +251,16 @@ entry:
250 delete: "Vuoi veramente rimuovere quell'articolo?" 251 delete: "Vuoi veramente rimuovere quell'articolo?"
251 delete_tag: "Vuoi veramente rimuovere quell'etichetta da quell'articolo?" 252 delete_tag: "Vuoi veramente rimuovere quell'etichetta da quell'articolo?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
253about: 264about:
254 page_title: 'A proposito' 265 page_title: 'A proposito'
255 top_menu: 266 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
index be57e903..af9d85c3 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Cercar' 38 search: 'Cercar'
39 filter_entries: 'Filtrar los articles' 39 filter_entries: 'Filtrar los articles'
40 export: 'Exportar' 40 export: 'Exportar'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Picatz vòstre mot-clau a cercar aquí' 43 input_label: 'Picatz vòstre mot-clau a cercar aquí'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'A prepaus' 266 page_title: 'A prepaus'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
index 00c559ed..78464162 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Szukaj' 38 search: 'Szukaj'
39 filter_entries: 'Filtruj wpisy' 39 filter_entries: 'Filtruj wpisy'
40 export: 'Eksportuj' 40 export: 'Eksportuj'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Wpisz swoje zapytanie tutaj' 43 input_label: 'Wpisz swoje zapytanie tutaj'
43 44
@@ -250,6 +251,17 @@ entry:
250 delete: "Czy jesteś pewien, że chcesz usunąć ten artykuł?" 251 delete: "Czy jesteś pewien, że chcesz usunąć ten artykuł?"
251 delete_tag: "Czy jesteś pewien, że chcesz usunąć ten tag, z tego artykułu?" 252 delete_tag: "Czy jesteś pewien, że chcesz usunąć ten tag, z tego artykułu?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'O nas' 266 page_title: 'O nas'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
index 4ab5f144..07eeefc2 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Pesquisa' 38 search: 'Pesquisa'
39 filter_entries: 'Filtrar entradas' 39 filter_entries: 'Filtrar entradas'
40 export: 'Exportar' 40 export: 'Exportar'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Digite aqui sua pesquisa' 43 input_label: 'Digite aqui sua pesquisa'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'Sobre' 266 page_title: 'Sobre'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
index f16504ed..ba7b11d5 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Căutare' 38 search: 'Căutare'
39 filter_entries: 'Filtrează articolele' 39 filter_entries: 'Filtrează articolele'
40 # export: 'Export' 40 # export: 'Export'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Introdu căutarea ta' 43 input_label: 'Introdu căutarea ta'
43 44
@@ -250,6 +251,17 @@ entry:
250 # delete: "Are you sure you want to remove that article?" 251 # delete: "Are you sure you want to remove that article?"
251 # delete_tag: "Are you sure you want to remove that tag from that article?" 252 # delete_tag: "Are you sure you want to remove that tag from that article?"
252 253
254# notifications:
255# sidebar:
256# view_more: 'View more'
257# list:
258# page_title: 'Notifications'
259# mark_all_as_read: 'Mark all as read'
260# none: "No notifications yet :'("
261# release:
262# title: "wallabag has been updated to version %version%"
263# details: "View update's details"
264
253about: 265about:
254 page_title: 'Despre' 266 page_title: 'Despre'
255 top_menu: 267 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
index 90a140cd..6cbe6dcd 100644
--- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
+++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
@@ -38,6 +38,7 @@ menu:
38 search: 'Ara' 38 search: 'Ara'
39 filter_entries: 'Filtrele' 39 filter_entries: 'Filtrele'
40 export: 'Dışa Aktar' 40 export: 'Dışa Aktar'
41 # notifications: 'Notifications'
41 search_form: 42 search_form:
42 input_label: 'Aramak istediğiniz herhangi bir şey yazın' 43 input_label: 'Aramak istediğiniz herhangi bir şey yazın'
43 44
@@ -248,6 +249,17 @@ entry:
248 # delete: "Are you sure you want to remove that article?" 249 # delete: "Are you sure you want to remove that article?"
249 # delete_tag: "Are you sure you want to remove that tag from that article?" 250 # delete_tag: "Are you sure you want to remove that tag from that article?"
250 251
252# notifications:
253# sidebar:
254# view_more: 'View more'
255# list:
256# page_title: 'Notifications'
257# mark_all_as_read: 'Mark all as read'
258# none: "No notifications yet :'("
259# release:
260# title: "wallabag has been updated to version %version%"
261# details: "View update's details"
262
251about: 263about:
252 page_title: 'Hakkımızda' 264 page_title: 'Hakkımızda'
253 top_menu: 265 top_menu:
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig
index 8a5da71a..d566795d 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig
@@ -3,6 +3,7 @@
3{% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6{{ parent() }}
6<div class="row"> 7<div class="row">
7 <div class="col s12"> 8 <div class="col s12">
8 <div class="card-panel settings"> 9 <div class="card-panel settings">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
index 528b055c..53210688 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
@@ -3,6 +3,7 @@
3{% block title %}{{ 'developer.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'developer.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6{{ parent() }}
6<div class="row"> 7<div class="row">
7 <div class="col s12"> 8 <div class="col s12">
8 <div class="card-panel settings"> 9 <div class="card-panel settings">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig
index 1cd3485c..ffd9b1b8 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig
@@ -3,7 +3,7 @@
3{% block title %}{{ 'about.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'about.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6 6 {{ parent() }}
7 <div class="row"> 7 <div class="row">
8 <div class="col s12"> 8 <div class="col s12">
9 <div class="card-panel settings"> 9 <div class="card-panel settings">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig
index 231f9bdf..4c598b85 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig
@@ -3,7 +3,7 @@
3{% block title %}{{ 'howto.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'howto.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6 6 {{ parent() }}
7 <div class="row"> 7 <div class="row">
8 <div class="col s12"> 8 <div class="col s12">
9 <div class="card-panel settings"> 9 <div class="card-panel settings">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig
index 4580813c..70265be2 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig
@@ -3,7 +3,7 @@
3{% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6 6 {{ parent() }}
7 <div class="row quickstart"> 7 <div class="row quickstart">
8 <div class="col s12"> 8 <div class="col s12">
9 <div class="card-panel settings"> 9 <div class="card-panel settings">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
index a8143315..bd5932b0 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
@@ -3,7 +3,7 @@
3{% block title %}{{ 'config.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'config.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6 6 {{ parent() }}
7 <div class="row"> 7 <div class="row">
8 <div class="col s12"> 8 <div class="col s12">
9 <div class="card-panel settings"> 9 <div class="card-panel settings">
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 0c4dc80b..1cc5489f 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
@@ -19,6 +19,7 @@
19{% endblock %} 19{% endblock %}
20 20
21{% block content %} 21{% block content %}
22 {{ parent() }}
22 {% set listMode = app.user.config.listMode %} 23 {% set listMode = app.user.config.listMode %}
23 {% set currentRoute = app.request.attributes.get('_route') %} 24 {% set currentRoute = app.request.attributes.get('_route') %}
24 <div class="results clearfix"> 25 <div class="results clearfix">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig
new file mode 100644
index 00000000..49cc0d40
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig
@@ -0,0 +1,56 @@
1{% extends "WallabagCoreBundle::layout.html.twig" %}
2
3{% block title %}{{ 'notifications.list.page_title' | trans }}{% endblock %}
4
5{% block content %}
6 {{ parent() }}
7 <div class="row notifications-page">
8 <div class="col l8 offset-l2">
9 {% if app.user.notifications is not empty %}
10 <div class="row">
11 <a href="{{ path('notification-archive-all') }}" class="btn-light waves-effect waves-light right"><i class="material-icons">done_all</i> {{ 'notifications.list.mark_all_as_read' | trans }}</a>
12 </div>
13 <ul class="collection">
14 {% for notification in notifications | slice(0, 10) %}
15 <li class="notification collection-item avatar{% if not notification.read %} light-blue lighten-5{% else %} grey-text{% endif %}">
16 <i class="material-icons circle">{% spaceless %}
17 {% if notification.type == constant('TYPE_ADMIN', notification) %}
18 build
19 {% elseif notification.type == constant('TYPE_USER', notification) %}
20 person
21 {% elseif notification.type == constant('TYPE_RELEASE', notification) %}
22 new_releases
23 {% endif %}
24 {% endspaceless %}</i>
25 <span class="title">{{ notification.title | trans(notification.parameters) }}</span>
26 <p>{{ notification.description | trans | trans(notification.parameters) }}</p>
27 <time datetime="{{ notification.timestamp | date }}">{{ notification.timestamp | time_diff }}</time>
28 <div class="secondary-content">
29 {% if not notification.read %}
30 {% for action in notification.actions %}
31 <a class="notification-action btn waves-effect waves-light {% spaceless %}
32 {% if action.type == constant('TYPE_OK', action) %}
33 {% elseif action.type == constant('TYPE_YES', action) %}
34 cyan
35 {% elseif action.type == constant('TYPE_NO', action) %}
36 red
37 {% elseif action.type == constant('TYPE_INFO', action) %}
38 blue-grey
39 {% endif %}
40 {% endspaceless %}" data-id="{{ notification.id }}" href="{{ path('notification-archive-redirect', {'redirection': action.link, 'notification': notification.id}) }}">{{ action.label | trans(notification.parameters) }}</a>
41 {% endfor %}
42 <a href="{{ path('notification-archive', {'notification': notification.id}) }}" class="notification-action waves-effect waves-teal btn-flat"><i class="material-icons">check</i></a>
43 {% endif %}
44 </div>
45 </li>
46 {% endfor %}
47 </ul>
48 {% else %}
49 {{ 'notifications.list.none' | trans }}
50 {% endif %}
51 {% if notifications.getNbPages > 1 %}
52 {{ pagerfanta(notifications, 'twitter_bootstrap_translated', {'proximity': 1}) }}
53 {% endif %}
54 </div>
55 </div>
56{% endblock %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
index 97ddedc9..7a0f793c 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
@@ -3,6 +3,7 @@
3{% block title %}{{ 'tag.page_title'|trans }}{% endblock %} 3{% block title %}{{ 'tag.page_title'|trans }}{% endblock %}
4 4
5{% block content %} 5{% block content %}
6 {{ parent() }}
6 <div class="results clearfix"> 7 <div class="results clearfix">
7 <div class="nb-results left">{{ 'tag.list.number_on_the_page'|transchoice(tags|length) }}</div> 8 <div class="nb-results left">{{ 'tag.list.number_on_the_page'|transchoice(tags|length) }}</div>
8 </div> 9 </div>
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
index 60907e11..ccc44931 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -110,6 +110,13 @@
110 <i class="material-icons">search</i> 110 <i class="material-icons">search</i>
111 </a> 111 </a>
112 </li> 112 </li>
113 <li id="button_notifications">
114 {% set unreadNotifs = get_notifications() | unread_notif | length %}
115 <a class="nav-panel-menu button-collapse-right tooltipped js-notifications-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.notifications' | trans }}" href="#" data-activates="notifications">
116 <i class="material-icons">notifications{% if unreadNotifs == 0 %}_none{% endif %}</i>
117 {% if unreadNotifs > 0 %}<span id="notifications-count" class="red-text text-accent-2">{{ unreadNotifs }}</span>{% endif %}
118 </a>
119 </li>
113 <li id="button_filters"> 120 <li id="button_filters">
114 <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters"> 121 <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters">
115 <i class="material-icons">filter_list</i> 122 <i class="material-icons">filter_list</i>
@@ -135,6 +142,53 @@
135 </nav> 142 </nav>
136{% endblock %} 143{% endblock %}
137 144
145{% block content %}
146
147 <div id="notifications" class="side-nav">
148 {% if app.user.notifications is not empty %}
149 <div class="notifications-area">
150 <ul class="collection">
151 {% for notification in get_notifications() | slice(0, 10) %}
152 <li class="notification collection-item avatar{% if not notification.read %} light-blue lighten-5{% else %} grey-text{% endif %}">
153 <i class="material-icons circle">{% spaceless %}
154 {% if notification.type == constant('TYPE_ADMIN', notification) %}
155 build
156 {% elseif notification.type == constant('TYPE_USER', notification) %}
157 person
158 {% elseif notification.type == constant('TYPE_RELEASE', notification) %}
159 new_releases
160 {% endif %}
161 {% endspaceless %}</i>
162 <span class="title">{{ notification.title | trans(notification.parameters) }}</span>
163 <p>{{ notification.description | trans(notification.parameters) }}</p>
164 <time datetime="{{ notification.timestamp | date }}">{{ notification.timestamp | time_diff }}</time>
165 <div>
166 {% for action in notification.actions %}
167 <a class="notification-action-button btn waves-effect waves-light {% spaceless %}
168 {% if action.type == constant('TYPE_OK', action) %}
169 {% elseif action.type == constant('TYPE_YES', action) %}
170 cyan
171 {% elseif action.type == constant('TYPE_NO', action) %}
172 red
173 {% elseif action.type == constant('TYPE_INFO', action) %}
174 blue-grey
175 {% endif %}
176 {% if notification.read %}lighten-3{% endif %}
177 {% endspaceless %}" href="{{ path('notification-archive-redirect', {'redirection': action.link, 'notification': notification.id}) }}">{{ action.label | trans(notification.parameters) }}</a>
178 {% endfor %}
179 </div>
180 </li>
181 {% endfor %}
182 </ul>
183 </div>
184 <a href="{{ path('notification-archive-all') }}" class="btn-light waves-effect waves-light right"><i class="material-icons">done_all</i> {{ 'notifications.list.mark_all_as_read' | trans }}</a>
185 <a class="waves-effect waves-light btn view-more" href="{{ path('notifications-all') }}">{{ 'notifications.sidebar.view_more' | trans }}</a>
186 {% else %}
187 <div class="no-notifications grey-text">{{ 'notifications.list.none' | trans }}</div>
188 {% endif %}
189 </div>
190{% endblock %}
191
138{% block footer %} 192{% block footer %}
139 <footer class="page-footer cyan darken-2"> 193 <footer class="page-footer cyan darken-2">
140 <div class="footer-copyright"> 194 <div class="footer-copyright">