0 Votes

Changes for page Create Application

Last modified by Сергей Коршунов on 2025/05/01 21:19

From version 8.1
edited by Сергей Коршунов
on 2025/05/01 21:19
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/17.3.0]
To version 4.1
edited by Сергей Коршунов
on 2022/10/05 21:06
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/14.8]

Summary

Details

Page properties
Content
... ... @@ -19,7 +19,7 @@
19 19   <ul class="steps vertical">
20 20   #foreach($step in $awmSteps)
21 21   <li>
22 - <span class="btn btn-xs number">$mathtool.add($foreach.index, 1)</span>
22 + <span class="number">$mathtool.add($foreach.index, 1)</span>
23 23   <span class="name">$services.localization.render("appWithinMinutes.wizardStep.${step}.name")</span>
24 24   <span class="description">$services.localization.render("appWithinMinutes.wizardStep.${step}.description")</span>
25 25   </li>
... ... @@ -70,7 +70,6 @@
70 70   #if (!$xwiki.exists($appClassRef))
71 71   #set ($appHomeRef = $services.model.resolveDocument('', 'default', $appReference))
72 72   #set ($discard = $queryString.putAll({
73 - 'form_token': $services.csrf.getToken(),
74 74   'template': 'AppWithinMinutes.ClassTemplate',
75 75   'parent': $services.model.serialize($appHomeRef),
76 76   'title': "$appReference.name Class"
... ... @@ -102,11 +102,10 @@
102 102   </dl>
103 103   #set ($appHomeRef = $services.model.resolveDocument('', 'default', $appReference))
104 104   #if ($appDescriptor || $xwiki.exists($appHomeRef) || $xwiki.exists($appClassRef))
105 - #warning($services.localization.render('platform.appwithinminutes.appNameIsUsedWarning'))
104 + <div class="box warningmessage">
105 + $services.localization.render('platform.appwithinminutes.appNameIsUsedWarning')
106 + </div>
106 106   #end
107 - #if (!$services.security.authorization.hasAccess('script', $xcontext.userReference, $appHomeRef))
108 - #error($escapetool.xml($services.localization.render('platform.appwithinminutes.appHomePageNoScriptRight')))
109 - #end
110 110   #end
111 111  #end
112 112