Zdrojový kód wiki New Index Page
Version 24.4 by David Brazda on 18.12.2020 18:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Úvodní stránka nové oblasti. | ||
2 | |||
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 | |||
13 | Upravena uvodni stranka. | ||
14 | services.notification.watch. | ||
15 | {{velocity}}isEnabled $services.notification.watch.isEnabled() | ||
16 | hasAnyEnabledNotificationPreferences $services.notification.preferences.hasAnyEnabledNotificationPreferences() | ||
17 | isLocationWatchedWithAllEventTypes $services.notification.watch.isLocationWatchedWithAllEventTypes($doc) | ||
18 | isLocationWatched $services.notification.watch.isLocationWatched($doc.documentReference) | ||
19 | ## doc: $services.notification.watch.isLocationWatched($doc.documentReference) | ||
20 | ##'space': $services.notification.watch.isLocationWatched($doc.lastSpaceReference), | ||
21 | ##'wiki': $services.notification.watch.isLocationWatched($doc.wikiReference){{/velocity}} |