Changes for page App Within Minutes
Summary
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +$services.localization.render('platform.appwithinminutes.homePageTitle') - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Main.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. XWikiGuest1 +XWiki.AdminAngriff - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - false1 +true - Content
-
... ... @@ -1,0 +1,28 @@ 1 +{{velocity}} 2 +$services.localization.render('platform.appwithinminutes.description') 3 + 4 +#if($hasCreateSpace) 5 + (% class="buttonwrapper" %)[[$services.localization.render('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button" queryString="wizard=true"]] 6 + 7 +#end 8 += $services.localization.render('platform.appwithinminutes.appsLiveTableHeading') =## 9 +#set($columnsProperties = { 10 + 'doc.title': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}, 11 + 'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true}, 12 + 'doc.date': {'type': 'date', 'size': 10, 'filterable': true, 'sortable': true}, 13 + '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} 14 +}) 15 +#set($options = { 16 + 'className': 'AppWithinMinutes.LiveTableClass', 17 + 'resultPage' : 'AppWithinMinutes.AppsLiveTableResults', 18 + 'translationPrefix': 'platform.appwithinminutes.appsLiveTable.', 19 + 'tagCloud': true, 20 + 'rowCount': 15, 21 + 'maxPages': 10, 22 + 'selectedColumn': 'doc.title', 23 + 'defaultOrder': 'asc' 24 +}) 25 +#set($columns = ['doc.title', 'doc.author', 'doc.date', '_actions']) 26 +#livetable('livetable' $columns $columnsProperties $options) 27 +#set ($displayDocExtra = false) 28 +{{/velocity}}
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,6 @@ 1 +document.observe('xwiki:livetable:newrow', function(event) { 2 + // Add the xredirect parameter to the query string of the delete action to 3 + // redirect the user back to the live table after an application is deleted. 4 + var deleteLink = event.memo.row.down('td.actions').down('a.actiondelete'); 5 + deleteLink.href = deleteLink.href + '&xredirect=' + encodeURIComponent(window.location.href); 6 +}); - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +currentPage - Name
-
... ... @@ -1,0 +1,1 @@ 1 +Code - Parse content
-
... ... @@ -1,0 +1,1 @@ 1 +No
- XWiki.XWikiRights[0]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiAllGroup - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view,comment,edit
- XWiki.XWikiRights[1]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view,comment
- XWiki.XWikiRights[2]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Users
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view