Изменения документа Материалы
отредактировано Andrey Shilin
на 2024/08/15 11:39
на 2024/08/15 11:39
отредактировано Andrey Shilin
на 2025/04/16 12:23
на 2025/04/16 12:23
Изменить комментарий:
Imported from XAR
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,24 +1,13 @@ 1 1 {{velocity}} 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 -== Методические документы, словари, энциклопедии == 12 -#set ($columnsProperties1 = { 2 +#set ($columnsProperties = { 13 13 'doc.title': {"link":"view"}, 14 14 'doc.location': {"html":true}, 15 15 'doc.date': {}, 16 - 'doc.author': {"link":"author"}, 17 17 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 18 18 }) 19 -#set ($options 1= {20 - 'className': 'SUZ.Materials.Code.M ethodologicalDocumentClass',21 - 'translationPrefix': 'materials.livetable.', 8 +#set ($options = { 9 + 'className': 'SUZ.Materials.Code.MaterialsSectionClass', 10 + 'translationPrefix': 'materialssection.livetable.', 22 22 'tagCloud': true, 23 23 'rowCount': 15, 24 24 'maxPages': 10, ... ... @@ -25,49 +25,6 @@ 25 25 'selectedColumn': 'doc.title', 26 26 'defaultOrder': 'asc' 27 27 }) 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 - 17 +#set ($columns = ['doc.title', 'doc.location', 'doc.date', '_actions']) 18 +#livetable('materialssection' $columns $columnsProperties $options) 73 73 {{/velocity}}
- AppWithinMinutes.LiveTableClass[0]
-
- Колонки динамической таблицы
-
... ... @@ -1,1 +1,1 @@ 1 -doc.title doc.location doc.date doc.author_actions1 +doc.title doc.location doc.date _actions