Wiki source code of Core.Main
Version 49.1 by Ariel Steiner on 2026/06/29 19:48
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{include reference="Help.Code.VelocityMacros"/}} | ||
| 2 | |||
| 3 | {{velocity output="false"}} | ||
| 4 | #macro (display4Cards $cards) | ||
| 5 | <ul class="card-list"> | ||
| 6 | #foreach ($card in $cards) | ||
| 7 | <li class='card'> | ||
| 8 | #helpExampleCard($card) | ||
| 9 | </li> | ||
| 10 | #end | ||
| 11 | </ul> | ||
| 12 | #end | ||
| 13 | |||
| 14 | #set ($howToCards = [{ | ||
| 15 | 'icon': 'fa fa-star', | ||
| 16 | 'title': 'Uživatelská dokumentace', | ||
| 17 | 'description': 'Informace zobrazené v průběhu práce programu' | ||
| 18 | }, { | ||
| 19 | 'icon': 'fa fa-wrench', | ||
| 20 | 'title': 'Servisní dokumentace', | ||
| 21 | 'description': 'Informace určené pro správce programu', | ||
| 22 | 'documentation': 'https://wiki.steiner.cz/wiki/core/view/Servis/#' | ||
| 23 | }]) | ||
| 24 | {{/velocity}} | ||
| 25 | |||
| 26 | {{velocity}} | ||
| 27 | {{html clean="false"}} | ||
| 28 | #display4Cards($howToCards) | ||
| 29 | {{/html}} | ||
| 30 | |||
| 31 | |||
| 32 | ## = $services.localization.render('help.title2') = | ||
| 33 | ## $services.localization.render('help.description2') | ||
| 34 | |||
| 35 | ##{{html clean="false"}} | ||
| 36 | ###display4Cards($featureCards) | ||
| 37 | ##{{/html}} | ||
| 38 | {{/velocity}} | ||
| 39 | |||
| 40 | |||
| 41 | (% class="row" %) | ||
| 42 | ((( | ||
| 43 | (% class="col-xs-12 col-sm-6" %) | ||
| 44 | ((( | ||
| 45 | (% class="wikigeneratedid" %) | ||
| 46 | |||
| 47 | |||
| 48 | (% class="box" style="text-align: center;" %) | ||
| 49 | ((( | ||
| 50 | (% style="color:#2980b9; font-size:22px" %)**Uživatelská dokumentace** | ||
| 51 | ))) | ||
| 52 | ))) | ||
| 53 | |||
| 54 | (% class="col-xs-12 col-sm-6" %) | ||
| 55 | ((( | ||
| 56 | (% class="wikigeneratedid" id="HOdkazy" %) | ||
| 57 | **Odkazy:** | ||
| 58 | |||
| 59 | {{velocity}} | ||
| 60 | {{{#set($reference = $services.model.createDocumentReference('', '', ''))}}} | ||
| 61 | my_link: (% class="wikigeneratedid" %) [[$reference>>]] | ||
| 62 | {{/velocity}} | ||
| 63 | |||
| 64 | {{velocity}} | ||
| 65 | ##if($xwiki.getUser().isUserInGroup('XWiki.XWikiAdminGroup')) | ||
| 66 | #if($xwiki.getUser().isUserInGroup('XWiki.Core_Writer') || $xwiki.getUser().isUserInGroup('XWiki.#Core_Servis') || $hasAdmin) | ||
| 67 | ##(% class="wikigeneratedid" %) [[Steiner.cz>>https://www.steiner.cz/domu/spolecnost/]] | ||
| 68 | #end | ||
| 69 | {{/velocity}} | ||
| 70 | |||
| 71 | ))) | ||
| 72 | ))) | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | = = | ||
| 88 | |||
| 89 |