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

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

От версии Icon 1.7 Icon
отредактировано Dmitry Fedin
на 2012/03/07 22:07
Изменить комментарий: clear view права для XWiki.XWikiGuestGroup
К версии Icon 2.1 Icon
отредактировано Admin
на 2012/11/26 09:43
Изменить комментарий: Импортировано из XAR

Комментарий

Подробности

Icon Свойства страницы
Автор документа
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.DmitryFedin
1 +xwiki:XWiki.Admin
Содержимое
... ... @@ -1,16 +1,20 @@
1 1  {{velocity}}
2 2  $msg.get('platform.appwithinminutes.description')
3 3  
4 -(% class="buttonwrapper" %)[[$msg.get('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button"]]
4 +#if($hasCreateSpace)
5 + (% class="buttonwrapper" %)[[$msg.get('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button"]]
5 5  
7 +#end
6 6  = $msg.get('platform.appwithinminutes.appsLiveTableHeading') =##
7 7  #set($columnsProperties = {
8 8   'doc.space': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true},
9 9   'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true},
10 - 'doc.date': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true}
12 + 'doc.date': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true},
13 + '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']}
11 11  })
12 12  #set($options = {
13 13   'className': 'AppWithinMinutes.LiveTableClass',
17 + 'resultPage' : 'AppWithinMinutes.AppsLiveTableResults',
14 14   'translationPrefix': 'platform.appwithinminutes.appsLiveTable.',
15 15   'tagCloud': true,
16 16   'rowCount': 15,
... ... @@ -18,6 +18,6 @@
18 18   'selectedColumn': 'doc.space',
19 19   'defaultOrder': 'asc'
20 20  })
21 -#set($columns = ['doc.space', 'doc.author', 'doc.date'])
25 +#set($columns = ['doc.space', 'doc.author', 'doc.date', '_actions'])
22 22  #livetable('livetable' $columns $columnsProperties $options)
23 23  {{/velocity}}
Icon XWiki.JavaScriptExtension[0]
Политика кеширования
... ... @@ -1,0 +1,1 @@
1 +long
Код
... ... @@ -1,0 +1,7 @@
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 + // The delete URL doesn't have any query string by default.
6 + deleteLink.href = deleteLink.href + '?xredirect=' + encodeURIComponent(window.location.href);
7 +});
Название
... ... @@ -1,0 +1,1 @@
1 +Code
Разбор содержимого
... ... @@ -1,0 +1,1 @@
1 +Нет
Использовать это расширение
... ... @@ -1,0 +1,1 @@
1 +currentPage