File modules/cms/ui/themes/default/html/views/template/edit.tpl.src.xml

Last commit: Tue Oct 13 18:47:47 2026 +0200	Jan Dankert	Fixing some template issues: Removed unused attributes. The XSD description for template elements contains now comments.
1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> 3 <group title="${message:page_pageelements}"> 4 <table> 5 <!-- Headline --> 6 <row header="true"> 7 <column header="true"> 8 <image /> 9 <text value="${message:name}"/> 10 </column> 11 <column header="true"> 12 <text value="${message:type}"/> 13 </column> 14 <column /> 15 </row> 16 <list list="${elements}" extract="true"> 17 <row class="data"> 18 <column class="act-clickable"> 19 <link type="open" id="${id}" name="${name}" action="element"> 20 <image elementtype="${type}"/> 21 <text value="${name}" title="${description}"/> 22 </link> 23 </column> 24 <column> 25 <text value="${message:el_${type}}"/> 26 </column> 27 <column> 28 <part class="button,button--active-on-hover,toolbar-icon,row--on-hover"> 29 <image class="menu-icon" menu="more"/> 30 <part class="dropdown,button-value"> 31 <part 32 class="dropdown-entry,act-clickable"> 33 <link type="open" id="${id}" title="${message:menu_open}" action="element"> 34 <image method="switch"/> 35 <text class="dropdown-text" value="${message:menu_open}"/> 36 </link> 37 </part> 38 <part 39 class="dropdown-entry,act-clickable"> 40 <link type="dialog" id="${id}" title="${message:menu_prop_desc}" action="element" subaction="prop"> 41 <image method="prop"/> 42 <text class="dropdown-text" value="${message:menu_prop}"/> 43 </link> 44 </part> 45 <part 46 class="dropdown-entry,act-clickable"> 47 <link type="dialog" id="${id}" title="${message:menu_advanced_desc}" action="element" subaction="advanced"> 48 <image method="advanced"/> 49 <text class="dropdown-text" value="${message:menu_advanced}"/> 50 </link> 51 </part> 52 </part> 53 </part> 54 55 </column> 56 </row> 57 </list> 58 <if empty="${elements}"> 59 <row> 60 <column colspan="2"> 61 <text value="${message:NOT_FOUND}"/> 62 </column> 63 <column /> 64 </row> 65 </if> 66 <row class="data"> 67 <column colspan="2" class="act-clickable"> 68 <link type="dialog" subaction="addel" action="template" id="${templateid}"> 69 <image method="add"/> 70 <text value="${message:menu_template_addel}"/> 71 </link> 72 </column> 73 <column /> 74 </row> 75 </table> 76 </group> 77 78 <list list="${templateModels}" extract="true"> 79 <group title="${message:model} ${name}"> 80 <part class="act-clickable"> 81 <text value="${source}" escape="true" type="code" /> 82 <newline/> 83 <link type="edit" id="${templateid}" subaction="src" var1="modelid" value1="${id}" class="form-button"> 84 <image action="template"/> 85 <text value="${message:edit}"/> 86 </link> 87 </part> 88 </group> 89 </list> 90 </output>
Download modules/cms/ui/themes/default/html/views/template/edit.tpl.src.xml
History Tue, 13 Oct 2026 18:47:47 +0200 Jan Dankert Fixing some template issues: Removed unused attributes. The XSD description for template elements contains now comments. Tue, 13 Oct 2026 00:26:19 +0200 Jan Dankert New: Using Objects as return value in Action methods. With this change the creation of OpenAPI is much easier. This is a POC, the other methods follow from time to time. Fri, 11 Mar 2022 20:14:33 +0100 dankert UI-Cleanup. Mon, 8 Mar 2021 15:04:16 +0100 Jan Dankert UI Fixes: Table filter should not hide the table header; open actual object in navigation tree; load dialog name from link text. Mon, 8 Mar 2021 01:24:06 +0100 Jan Dankert New: Action menu on many lists; tables have now a fixed layout Sat, 20 Feb 2021 00:49:37 +0100 Jan Dankert Cleanup of templates. Wed, 11 Nov 2020 21:47:40 +0100 Jan Dankert Fix: Templatemodel-extensions are now editable. Mon, 26 Oct 2020 21:36:14 +0100 Jan Dankert Rename css class 'clickable' to 'act-clickable'; enhanced view 'info' for projects. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Thu, 20 Aug 2020 21:15:48 +0200 Jan Dankert Cleanup: Deleting unused components. Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Mon, 17 Aug 2020 22:22:54 +0200 Jan Dankert Cleanup: Templates with text component should only use 'value'. Sat, 16 May 2020 01:08:40 +0200 Jan Dankert Refactoring: Switching the ValueExpressions in the templates to the new VariableResolver for supporting nested variables like ${message:prefix_${key}}. Sun, 23 Feb 2020 23:21:22 +0100 Jan Dankert Fix: Path to template.xsd has changed on the last refactoring. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.