Změny dokumentu PG WIKI.cz
Naposledy upravil David Brazda 06.04.2021 14:37
Popis verze:
Smazaný objekt
Přehled
-
Na stránce změněno: (1 změněno, 0 přidáno, 0 odstraněno)
-
Objects (0 změněno, 0 přidáno, 1 odstraněno)
Rozpis
- Na stránce změněno:
-
- Obsah
-
... ... @@ -1,31 +1,12 @@ 1 1 Úvodní stránka nové oblasti. 2 2 3 -Eventy: 4 -{{velocity}}#set ($query = $services.query.hql("order by event.date desc").setLimit(5)) 5 -#set ($events = $services.component.getInstance('org.xwiki.eventstream.EventStream').searchEvents($query)) 6 -#foreach ($event in $events) 7 - * $event 8 - * $event.parameters 9 -#end{{/velocity}} 3 +{{velocity}} 4 +1$services.notification.watch.isEnabled() 5 +2$services.notification.preferences.hasAnyEnabledNotificationPreferences() 6 +3$services.notification.watch.isLocationWatchedWithAllEventTypes($scope) 10 10 11 -* update at 2020-12-18 18:21:45 by xwiki:XWiki.DavidBrazda on xwiki:XWiki Customizace a vyvoj.Notifikace - update.WebHome with id 1706961429-1608312105000-uE9ZcHPd 12 -* {} 13 -* mentions.mention at 2020-12-18 18:07:18 by xwiki:XWiki.DavidBrazda on pgwiki:Main.WebHome with id 2038296237-1608311238095-ROxptrtr 14 -* {mentions={"userReference":"xwiki:XWiki.DavidBrazda","documentReference":"pgwiki:Main.WebHome","location":"COMMENT","anchor":"XWiki-PrvniRegistrovany-hjxjed","quote":"označuji @PrvniRegistrovany\n"}} 15 -* addComment at 2020-12-18 18:07:17 by xwiki:XWiki.DavidBrazda on pgwiki:Main.WebHome with id 2020497933-1608311237000-7HtDFCnd 16 -* {} 17 -* update at 2020-12-18 18:07:17 by xwiki:XWiki.DavidBrazda on pgwiki:Main.WebHome with id 1003133630-1608311237000-hJ36jc4c 18 -* {} 19 -* addComment at 2020-12-18 18:03:46 by xwiki:XWiki.DavidBrazda on pgwiki:Main.WebHome with id 2020497933-1608311026000-idUu5SGz 20 -* {} 8 +'document': $services.notification.watch.isLocationWatched($doc) 9 +'space': $services.notification.watch.isLocationWatched($doc.lastSpaceReference), 10 +'wiki': $services.notification.watch.isLocationWatched($doc.wikiReference) 21 21 22 - 23 -Upravena uvodni stranka. 24 -services.notification.watch. 25 -{{velocity}}isEnabled $services.notification.watch.isEnabled() 26 -hasAnyEnabledNotificationPreferences $services.notification.preferences.hasAnyEnabledNotificationPreferences() 27 -isLocationWatchedWithAllEventTypes $services.notification.watch.isLocationWatchedWithAllEventTypes($doc) 28 -isLocationWatched $services.notification.watch.isLocationWatched($doc.documentReference) 29 -## doc: $services.notification.watch.isLocationWatched($doc.documentReference) 30 -##'space': $services.notification.watch.isLocationWatched($doc.lastSpaceReference), 31 -##'wiki': $services.notification.watch.isLocationWatched($doc.wikiReference){{/velocity}} 12 +{{/velocity}}
- XWiki.XWikiComments[10]
-
- Autor
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.DavidBrazda - Komentář
-
... ... @@ -1,1 +1,0 @@ 1 -toto by melo vyvolat notifikaci - Datum
-
... ... @@ -1,1 +1,0 @@ 1 -2020-12-18 18:40:27.566