Zdrojový kód wiki New Index Page
Version 25.9 by David Brazda on 18.12.2020 18:45
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Úvodní stránka nové oblasti. | ||
| 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}} | ||
| 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 | * {} | ||
| 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}} |