Von Version < 15.1 >
bearbeitet von gru
am 28.11.2019, 17:14
Auf Version < 14.20 >
bearbeitet von awa
am 17.06.2019, 08:40
< >
Änderungskommentar: allow view Zugriffsrechte für XWiki.XWikiGuest

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.gru
1 +XWiki.awa
Inhalt
... ... @@ -1,74 +1,6 @@
1 1  {{include reference="Help.Code.VelocityMacros"/}}
2 2  
3 3  {{velocity output="false"}}
4 -#macro (MainMenuCard $data)
5 - #set ($documentationURL = $NULL)
6 - #if ($data.documentation)
7 - #set ($externalDocumentation = $data.documentation.contains('://'))
8 - #if ($externalDocumentation)
9 - #set ($documentationURL = $data.documentation)
10 - #else
11 - #set ($documentationURL = $xwiki.getURL($data.documentation))
12 - #end
13 - #end
14 - #set ($examplesURL = $NULL)
15 - #if ($data.examples)
16 - #if ($data.examples.startsWith('/'))
17 - ## Relative internal URL
18 - #set ($examplesURL = $data.examples)
19 - #else
20 - ## Page reference
21 - #set ($examplesURL = $xwiki.getURL($data.examples))
22 - #end
23 - #set ($url = $examplesURL)
24 - #else
25 - #set ($url = $documentationURL)
26 - #end
27 - <div class="well">
28 - #if ($data.icon)
29 - <span class="icon $data.icon" style="color:#504e4c"></span>
30 - #end
31 - #if ($data.iconfc)
32 - ##{{ficon name="$data.iconfc" size="1em"/}} title="$title"
33 - <span class="ico-fc-$data.iconfc" style="font-size:3em"></span>
34 - #end
35 - <h6>
36 - <a href="$!url">
37 - $escapetool.xml($data.title)
38 - </a>
39 - </h6>
40 - #if ($data.description)
41 - <p class="noitems">
42 - $data.description
43 - </p>
44 - #end
45 - #if (($data.examples && $data.documentation) || !$data.thumbnail)
46 - <ul class="noitems">
47 - #if ($data.examples)
48 - <li>
49 - <a href="$examplesURL">$services.localization.render('help.example.label')</a>
50 - </li>
51 - #end
52 - #if ($data.documentation)
53 - <li>
54 - <a href="$documentationURL"#if ($externalDocumentation) class="wikiexternallink"#end>
55 - ##ervices.localization.render('help.more.label')
56 - Mehr erfahren
57 - </a>
58 - </li>
59 - #end
60 - </ul>
61 - #end
62 - #if ($data.thumbnail)
63 - <a href="$!url">
64 - #set ($attachmentReference = $services.model.resolveAttachment($data.thumbnail))
65 - <img src="$xwiki.getURL($attachmentReference)" class="thumbnail"
66 - alt="$escapetool.xml($attachmentReference.name)" />
67 - </a>
68 - #end
69 - </div>
70 -#end
71 -
72 72  #macro (display4Cards $cards)
73 73   <div class="row">
74 74   #foreach ($card in $cards)
... ... @@ -83,36 +83,34 @@
83 83   <div class="clearfix visible-lg-block"></div>
84 84   #end
85 85   <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main">
86 - #MainMenuCard($card)
87 - ##helpExampleCard($card)
18 + #helpExampleCard($card)
88 88   </div>
89 89   #end
90 90   </div>
91 91  #end
92 92  
93 -##'icon': 'fa fa-support',
94 -##square-edit-outline
95 95  #set ($howToCards = [{
96 - 'iconfc': 'square-edit-outline',
25 + 'icon': 'fa fa-support',
97 97   'title': 'Formulardesigner',
98 98   'description': 'Arbeiten mit dem Formulardesigner',
99 99   'documentation': "Formcycle.FormDesigner"
100 100  }, {
101 - 'iconfc': 'wrench',
30 + 'icon': 'fa fa-play-circle',
102 102   'title': 'Verwaltung',
103 103   'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr',
104 104   'documentation': 'Formcycle.UserInterface'
105 105  }, {
106 - 'iconfc': 'inbox',
35 + 'icon': 'fa fa-play-circle',
107 107   'title': 'Posteingang',
108 108   'description': 'Formulardaten organisieren',
109 109   'documentation': 'Formcycle.Inbox'
110 110  }, {
111 - 'iconfc': 'workflow-fill',
40 + 'icon': 'fa fa-play-circle',
112 112   'title': 'Workflow',
113 113   'description': 'Formulardaten verarbeiten',
114 114   'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
115 115  }])
45 +
116 116  {{/velocity}}
117 117  
118 118  {{velocity}}
Copyright 2000-2024