Wiki-Quellcode von $services.localization.render('help.applications.title')
Zeige letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
1 | {{include reference="Help.Code.VelocityMacros" /}} | ||
2 | |||
3 | {{velocity output="false"}} | ||
4 | #set ($exoPrefix = 'https://extensions.xwiki.org/xwiki/bin/view/Extension') | ||
5 | #if ($hasAdmin) | ||
6 | #set ($section = 'XWiki.Extensions') | ||
7 | #if (!$xwiki.exists($section)) | ||
8 | ## Support for pre-9.2RC1 Administration Application | ||
9 | #set ($section = 'XWiki.AddExtensions') | ||
10 | #end | ||
11 | #set ($browseAppsURL = $xwiki.getURL('XWiki.XWikiPreferences', 'admin', "section=${section}&search=application&repo=recommended")) | ||
12 | #else | ||
13 | #set ($browseAppsURL = "$exoPrefix/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=application") | ||
14 | #end | ||
15 | |||
16 | #set ($actionCards = [{ | ||
17 | 'title': $services.localization.render('help.applications.create.title'), | ||
18 | 'description': $services.localization.render('help.applications.create.description'), | ||
19 | 'tip': $services.localization.render('help.applications.create.tip', ["<a href='$exoPrefix/App+Within+Minutes+Application' class='wikiexternallink'>", '</a>']), | ||
20 | 'thumbnail': 'AWM', | ||
21 | 'actions': [{ | ||
22 | 'label': $services.localization.render('help.try.label'), | ||
23 | 'type': 'success', | ||
24 | 'url': $xwiki.getURL('AppWithinMinutes.CreateApplication') | ||
25 | }, { | ||
26 | 'label': $services.localization.render('help.applications.create.demo.label'), | ||
27 | 'url': $xwiki.getURL('Help.Applications.Movies') | ||
28 | }] | ||
29 | }, { | ||
30 | 'title': $services.localization.render('help.applications.browse.title'), | ||
31 | 'description': $services.localization.render('help.applications.browse.description'), | ||
32 | 'tip': $services.localization.render('help.applications.browse.tip', ["<a href='$exoPrefix/Extension+Manager+Application' class='wikiexternallink'>", '</a>']), | ||
33 | 'thumbnail': 'EM', | ||
34 | 'actions': [{ | ||
35 | 'label': $services.localization.render('help.browse.label'), | ||
36 | 'url': $browseAppsURL | ||
37 | }] | ||
38 | }]) | ||
39 | |||
40 | #set ($exampleCards = [{ | ||
41 | 'title': $services.localization.render('help.applications.blog.title'), | ||
42 | 'description': $services.localization.render('help.applications.blog.description'), | ||
43 | 'documentation': "$exoPrefix/Blog+Application", | ||
44 | 'icon': 'fa fa-rss', | ||
45 | 'thumbnail': 'Help.Applications.WebHome@blog.png' | ||
46 | }, { | ||
47 | 'title': $services.localization.render('help.applications.forum.title'), | ||
48 | 'description': $services.localization.render('help.applications.forum.description'), | ||
49 | 'documentation': "$exoPrefix/ForumApplication", | ||
50 | 'icon': 'fa fa-comments', | ||
51 | 'thumbnail': 'Help.Applications.WebHome@forum.png' | ||
52 | }, { | ||
53 | 'title': $services.localization.render('help.applications.menu.title'), | ||
54 | 'description': $services.localization.render('help.applications.menu.description'), | ||
55 | 'documentation': "$exoPrefix/Menu+Application", | ||
56 | 'icon': 'fa fa-list-ul', | ||
57 | 'thumbnail': 'Help.Applications.WebHome@menu.png' | ||
58 | }, { | ||
59 | 'title': $services.localization.render('help.applications.ideas.title'), | ||
60 | 'description': $services.localization.render('help.applications.ideas.description'), | ||
61 | 'documentation': "$exoPrefix/Ideas", | ||
62 | 'icon': 'fa fa-lightbulb-o', | ||
63 | 'thumbnail': 'Help.Applications.WebHome@ideas.png' | ||
64 | }, { | ||
65 | 'title': $services.localization.render('help.applications.meetings.title'), | ||
66 | 'description': $services.localization.render('help.applications.meetings.description'), | ||
67 | 'documentation': "$exoPrefix/Meeting+Application", | ||
68 | 'icon': 'fa fa-calendar', | ||
69 | 'thumbnail': 'Help.Applications.WebHome@meeting.png' | ||
70 | }, { | ||
71 | 'title': $services.localization.render('help.applications.fileManager.title'), | ||
72 | 'description': $services.localization.render('help.applications.fileManager.description'), | ||
73 | 'documentation': "$exoPrefix/File+Manager+Application", | ||
74 | 'icon': 'fa fa-folder', | ||
75 | 'thumbnail': 'Help.Applications.WebHome@filemanager.png' | ||
76 | }]) | ||
77 | {{/velocity}} | ||
78 | |||
79 | {{velocity}} | ||
80 | {{html clean="false"}} | ||
81 | <div class="row"> | ||
82 | #foreach ($card in $actionCards) | ||
83 | ## See http://getbootstrap.com/css/#grid-responsive-resets . | ||
84 | #if ($foreach.index > 0 && $foreach.index % 2 == 0) | ||
85 | <div class="clearfix visible-sm-block visible-md-block visible-lg-block"></div> | ||
86 | #end | ||
87 | <div class="col-xs-12 col-sm-6"> | ||
88 | #helpActionCard($card) | ||
89 | </div> | ||
90 | #end | ||
91 | </div> | ||
92 | <h2 id="HExamples">$services.localization.render('help.applications.title1')</h2> | ||
93 | <p>$services.localization.render('help.applications.description1')</p> | ||
94 | <div class="row"> | ||
95 | #foreach ($card in $exampleCards) | ||
96 | ## See http://getbootstrap.com/css/#grid-responsive-resets . | ||
97 | #if ($foreach.index > 0 && $foreach.index % 2 == 0) | ||
98 | <div class="clearfix visible-sm-block "></div> | ||
99 | #end | ||
100 | #if ($foreach.index > 0 && $foreach.index % 3 == 0) | ||
101 | <div class="clearfix visible-md-block visible-lg-block"></div> | ||
102 | #end | ||
103 | <div class="col-xs-12 col-sm-6 col-md-4"> | ||
104 | #helpExampleCard($card) | ||
105 | </div> | ||
106 | #end | ||
107 | </div> | ||
108 | <p><a href="$exoPrefix/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=application" class="wikiexternallink">$services.localization.render('help.applications.link')</a></p> | ||
109 | {{/html}} | ||
110 | {{/velocity}} |