Changes for page App Within Minutes
Last modified by Ludovic Dubost on 2019/05/20 19:03
From version 6.1
edited by Ludovic Dubost
on 2018/07/01 11:40
on 2018/07/01 11:40
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/10.5]
To version 3.1
edited by Ludovic Dubost
on 2015/09/01 11:47
on 2015/09/01 11:47
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui-7.1]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,7 +9,7 @@ 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}, 12 - 'doc.date': {'type': ' date', 'size': 10, 'filterable': true, 'sortable': true},12 + 'doc.date': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true}, 13 13 '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} 14 14 }) 15 15 #set($options = { ... ... @@ -24,5 +24,5 @@ 24 24 }) 25 25 #set($columns = ['doc.space', 'doc.author', 'doc.date', '_actions']) 26 26 #livetable('livetable' $columns $columnsProperties $options) 27 -#set isplayDocExtra= false)27 +#set($docextras=[]) 28 28 {{/velocity}}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,12 +1,4 @@ 1 1 document.observe('xwiki:livetable:newrow', function(event) { 2 - // Fix the display of the application name. 3 - var appLink = event.memo.row.down('td.doc_space a'); 4 - var appReference = XWiki.Model.resolve(event.memo.data['doc_space'], XWiki.EntityType.SPACE); 5 - var appLocation = appReference.getReversedReferenceChain().map(function(spaceReference) { 6 - return spaceReference.name; 7 - }).join(' \u00BB '); 8 - appLink.update(appLocation.escapeHTML()); 9 - 10 10 // Add the xredirect parameter to the query string of the delete action to 11 11 // redirect the user back to the live table after an application is deleted. 12 12 var deleteLink = event.memo.row.down('td.actions').down('a.actiondelete');