Изменения документа Материалы
отредактировано Andrey Shilin
на 2025/04/16 12:23
на 2025/04/16 12:23
отредактировано Andrey Shilin
на 2024/08/15 11:39
на 2024/08/15 11:39
Изменить комментарий:
Imported from XAR
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,13 +1,24 @@ 1 1 {{velocity}} 2 -#set ($columnsProperties = { 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 +== Методические документы, словари, энциклопедии == 12 +#set ($columnsProperties1 = { 3 3 'doc.title': {"link":"view"}, 4 4 'doc.location': {"html":true}, 5 5 'doc.date': {}, 16 + 'doc.author': {"link":"author"}, 6 6 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 7 7 }) 8 -#set ($options = { 9 - 'className': 'SUZ.Materials.Code.M aterialsSectionClass',10 - 'translationPrefix': 'materials section.livetable.',19 +#set ($options1 = { 20 + 'className': 'SUZ.Materials.Code.MethodologicalDocumentClass', 21 + 'translationPrefix': 'materials.livetable.', 11 11 'tagCloud': true, 12 12 'rowCount': 15, 13 13 'maxPages': 10, ... ... @@ -14,6 +14,49 @@ 14 14 'selectedColumn': 'doc.title', 15 15 'defaultOrder': 'asc' 16 16 }) 17 -#set ($columns = ['doc.title', 'doc.location', 'doc.date', '_actions']) 18 -#livetable('materialssection' $columns $columnsProperties $options) 28 +#set ($columns1 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) 29 +#livetable('materials1' $columns1 $columnsProperties1 $options1) 30 + 31 +== Формы сбора данных == 32 + 33 +#set ($columnsProperties2 = { 34 + 'doc.title': {"link":"view"}, 35 + 'doc.location': {"html":true}, 36 + 'doc.date': {}, 37 + 'doc.author': {"link":"author"}, 38 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 39 +}) 40 +#set ($options2 = { 41 + 'className': 'SUZ.Materials.Code.OtherDocumentClass', 42 + 'translationPrefix': 'materials.livetable.', 43 + 'tagCloud': true, 44 + 'rowCount': 15, 45 + 'maxPages': 10, 46 + 'selectedColumn': 'doc.title', 47 + 'defaultOrder': 'asc' 48 +}) 49 +#set ($columns2 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) 50 +#livetable('materials2' $columns2 $columnsProperties2 $options2) 51 + 52 +== Внешние источники и полезные ссылки(URL) == 53 + 54 +#set ($columnsProperties3 = { 55 + 'doc.title': {"link":"view"}, 56 + 'doc.location': {"html":true}, 57 + 'doc.date': {}, 58 + 'doc.author': {"link":"author"}, 59 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 60 +}) 61 +#set ($options3 = { 62 + 'className': 'SUZ.Materials.Code.AssetExternalURLClass', 63 + 'translationPrefix': 'materials.livetable.', 64 + 'tagCloud': true, 65 + 'rowCount': 15, 66 + 'maxPages': 10, 67 + 'selectedColumn': 'doc.title', 68 + 'defaultOrder': 'asc' 69 +}) 70 +#set ($columns3 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) 71 +#livetable('materials3' $columns3 $columnsProperties3 $options3) 72 + 19 19 {{/velocity}}
- AppWithinMinutes.LiveTableClass[0]
-
- Колонки динамической таблицы
-
... ... @@ -1,1 +1,1 @@ 1 -doc.title doc.location doc.date _actions 1 +doc.title doc.location doc.date doc.author _actions