Hide last authors
David Brazda 3.1 1 Úvodní stránka nové oblasti.
David Brazda 15.1 2
David Brazda 24.1 3 Eventy:
4 {{velocity}}
5 #set ($query = $services.query.hql("order by event.date desc").setLimit(30))
6 #set ($events = $services.component.getInstance('org.xwiki.eventstream.EventStream').searchEvents($query))
7 #foreach ($event in $events)
8 * $event
9 #end
10 {{/velocity}}
11
12
David Brazda 17.1 13 Upravena uvodni stranka.
PetrPaklic 21.1 14 services.notification.watch.
PetrPaklic 22.1 15 {{velocity}}isEnabled $services.notification.watch.isEnabled()
PetrPaklic 21.1 16 hasAnyEnabledNotificationPreferences $services.notification.preferences.hasAnyEnabledNotificationPreferences()
17 isLocationWatchedWithAllEventTypes $services.notification.watch.isLocationWatchedWithAllEventTypes($doc)
18 isLocationWatched $services.notification.watch.isLocationWatched($doc.documentReference)
David Brazda 19.1 19 ## doc: $services.notification.watch.isLocationWatched($doc.documentReference)
David Brazda 15.2 20 ##'space': $services.notification.watch.isLocationWatched($doc.lastSpaceReference),
David Brazda 24.1 21 ##'wiki': $services.notification.watch.isLocationWatched($doc.wikiReference){{/velocity}}