Changes for page App Within Minutes
Last modified by Ecaterina Valica on 2019/03/27 14:32
From version 1.1
edited by Ludovic Dubost
on 2012/08/06 21:16
on 2012/08/06 21:16
Change comment:
Copied from incubator:AppWithinMinutes.WebHome
To version 6.1
edited by Ecaterina Valica
on 2019/03/27 14:32
on 2019/03/27 14:32
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/11.2]
Summary
-
Page properties (5 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -$ msg.get('platform.appwithinminutes.homePageTitle')1 +$services.localization.render('platform.appwithinminutes.homePageTitle') - Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.ludovic1 +XWiki.evalica - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 01 +XWiki 2.1 - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - false1 +true - Content
-
... ... @@ -1,15 +1,15 @@ 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" queryString="wizard=true"]] 6 6 7 7 #end 8 -= $ msg.get('platform.appwithinminutes.appsLiveTableHeading') =##8 += $services.localization.render('platform.appwithinminutes.appsLiveTableHeading') =## 9 9 #set($columnsProperties = { 10 - 'doc. space': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true},10 + 'doc.title': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}, 11 11 'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true}, 12 - 'doc.date': {'type': 'te xt', 'size': 10, 'filterable': true, 'sortable': true},12 + 'doc.date': {'type': 'date', 'size': 10, 'filterable': true, 'sortable': true}, 13 13 '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} 14 14 }) 15 15 #set($options = { ... ... @@ -19,9 +19,10 @@ 19 19 'tagCloud': true, 20 20 'rowCount': 15, 21 21 'maxPages': 10, 22 - 'selectedColumn': 'doc. space',22 + 'selectedColumn': 'doc.title', 23 23 'defaultOrder': 'asc' 24 24 }) 25 -#set($columns = ['doc. space', 'doc.author', 'doc.date', '_actions'])25 +#set($columns = ['doc.title', 'doc.author', 'doc.date', '_actions']) 26 26 #livetable('livetable' $columns $columnsProperties $options) 27 +#set ($displayDocExtra = false) 27 27 {{/velocity}}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -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 });