Изменения документа platform.appwithinminutes.homePageTitle

Редактировал(а) Dmitry Fedin 2015/04/08 12:36

От версии Icon 6.1 Icon
отредактировано Dmitry Fedin
на 2013/01/07 22:56
Изменить комментарий: Импортировано из XAR
К версии Icon 7.1 Icon
отредактировано Dmitry Fedin
на 2014/10/22 14:26
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.2.2]

Комментарий

Подробности

Icon Свойства страницы
Название
... ... @@ -1,1 +1,1 @@
1 -$msg.get('platform.appwithinminutes.homePageTitle')
1 +$services.localization.render('platform.appwithinminutes.homePageTitle')
Содержимое
... ... @@ -1,11 +1,11 @@
1 1  {{velocity}}
2 -$msg.get('platform.appwithinminutes.description')
2 +$services.localization.render('platform.appwithinminutes.description')
3 3  
4 4  #if($hasCreateSpace)
5 - (% class="buttonwrapper" %)[[$msg.get('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button"]]
5 + (% class="buttonwrapper" %)[[$services.localization.render('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button"]]
6 6  
7 7  #end
8 -= $msg.get('platform.appwithinminutes.appsLiveTableHeading') =##
8 += $services.localization.render('platform.appwithinminutes.appsLiveTableHeading') =##
9 9  #set($columnsProperties = {
10 10   'doc.space': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true},
11 11   'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true},
Icon XWiki.JavaScriptExtension[0]
Код
... ... @@ -2,6 +2,5 @@
2 2   // Add the xredirect parameter to the query string of the delete action to
3 3   // redirect the user back to the live table after an application is deleted.
4 4   var deleteLink = event.memo.row.down('td.actions').down('a.actiondelete');
5 - // The delete URL doesn't have any query string by default.
6 - deleteLink.href = deleteLink.href + '?xredirect=' + encodeURIComponent(window.location.href);
5 + deleteLink.href = deleteLink.href + '&xredirect=' + encodeURIComponent(window.location.href);
7 7  });