| ... |
... |
@@ -1,10 +1,13 @@ |
| 1 |
1 |
{{include reference="Help.Code.VelocityMacros" /}} |
| 2 |
2 |
|
| 3 |
3 |
{{velocity output="false"}} |
|
4 |
+#set ($plaformPrefix = 'https://platform.xwiki.org/xwiki/bin/view/Features') |
|
5 |
+#set ($exoPrefix = 'https://extensions.xwiki.org/xwiki/bin/view/Extension') |
| 4 |
4 |
#set ($actionCards = [{ |
| 5 |
5 |
'title': $services.localization.render('help.templates.useTemplates.title'), |
| 6 |
6 |
'description': $services.localization.render('help.templates.useTemplates.description'), |
| 7 |
|
- 'tip': $services.localization.render('help.templates.useTemplates.tip', ["<a href='http://platform.xwiki.org/xwiki/bin/view/Features/DocumentLifecycle#HCreate' class='wikiexternallink'>",'</a>']), |
|
9 |
+ 'tip': $services.localization.render('help.templates.useTemplates.tip', |
|
10 |
+ ["<a href='$plaformPrefix/DocumentLifecycle#HCreate' class='wikiexternallink'>",'</a>']), |
| 8 |
8 |
'thumbnail': 'Template', |
| 9 |
9 |
'actions': [{ |
| 10 |
10 |
'label': $services.localization.render('help.try.label'), |
| ... |
... |
@@ -16,11 +16,12 @@ |
| 16 |
16 |
}, { |
| 17 |
17 |
'title': $services.localization.render('help.templates.create.title'), |
| 18 |
18 |
'description': $services.localization.render('help.templates.create.description'), |
| 19 |
|
- 'tip': $services.localization.render('help.templates.create.tip', ["<a href='http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HCreatetheTemplateProvider' class='wikiexternallink'>",'</a>']), |
|
22 |
+ 'tip': $services.localization.render('help.templates.create.tip', |
|
23 |
+ ["<a href='$exoPrefix/Administration+Application#HCreatetheTemplateProvider' class='wikiexternallink'>",'</a>']), |
| 20 |
20 |
'thumbnail': 'Administration', |
| 21 |
21 |
'actions': [{ |
| 22 |
22 |
'label': $services.localization.render('help.more.label'), |
| 23 |
|
- 'url': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HCreatetheTemplateProvider' |
|
27 |
+ 'url': "$exoPrefix/Administration+Application#HCreatetheTemplateProvider" |
| 24 |
24 |
}] |
| 25 |
25 |
}]) |
| 26 |
26 |
|
| ... |
... |
@@ -37,7 +37,7 @@ |
| 37 |
37 |
#set ($outputCard = { |
| 38 |
38 |
'title': $inputCard.title, |
| 39 |
39 |
'description': $inputCard.description, |
| 40 |
|
- 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Templates+Application/', |
|
44 |
+ 'documentation': "$exoPrefix/Templates+Application/", |
| 41 |
41 |
'thumbnail': $inputCard.thumbnail |
| 42 |
42 |
}) |
| 43 |
43 |
#else |
| ... |
... |
@@ -107,6 +107,6 @@ |
| 107 |
107 |
</div> |
| 108 |
108 |
#end |
| 109 |
109 |
</div> |
| 110 |
|
-<p><a href="http://extensions.xwiki.org/xwiki/bin/view/Extension/Templates+Application/" class="wikiexternallink">$services.localization.render('help.templates.more')</a></p> |
|
114 |
+<p><a href="$exoPrefix/Templates+Application/" class="wikiexternallink">$services.localization.render('help.templates.more')</a></p> |
| 111 |
111 |
{{/html}} |
| 112 |
112 |
{{/velocity}} |