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

Last commit: Sun Apr 10 11:59:03 2022 +0200	dankert	Fix: Output the model name instead of the language (there is no language in this context).
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 <form method="get" subaction="diff" label="${message:compare}" cancel="false" visible="true"> 4 <list list="${models}" value="model" extract="true"> 5 6 <group collapsible="true" title="${message:model}: ${model.name}"> 7 8 <table> 9 <row header="true"> 10 11 <column class="table-column-action" colspan="2"> 12 <text value="${message:COMPARE}"/> 13 </column> 14 <column class="table-column-auto"> 15 <text value="${message:VALUE}"/> 16 </column> 17 <column class="-visible-on-desktop,table-column-date"> 18 <text class="" value="${message:DATE}"/> 19 </column> 20 <column class="-visible-on-desktop,table-column-user"> 21 <text class="" value="${message:USER}"/> 22 </column> 23 <column class="table-column-action" > 24 <text value="${message:STATE}"/> 25 </column> 26 <column class="table-column-action" > 27 <text value="${message:ACTION}"/> 28 </column> 29 </row> 30 31 <if empty="${values}"> 32 <row> 33 <column colspan="8"> 34 <text value="${message:NOT_FOUND}"/> 35 </column> 36 </row> 37 </if> 38 <list list="${values}" extract="true"> 39 <row class="data"> 40 <column class="table-column-action"> 41 <if true="${comparable}"> 42 <radio name="compareid" value="${id}"/> 43 </if> 44 <else> 45 <text value=" "/> 46 </else> 47 </column> 48 <column > 49 <if true="${comparable}"> 50 <radio name="withid" value="${id}"/> 51 </if> 52 <else> 53 <text value=" "/> 54 </else> 55 </column> 56 <column > 57 <text value="${text}" title="${text}"/> 58 </column> 59 <column class="-visible-on-desktop"> 60 <date date="${date}"/> 61 </column> 62 <column class="-visible-on-desktop"> 63 <text value="${user}"/> 64 </column> 65 66 <!-- State --> 67 <column > 68 <if true="${publish}"> 69 <image symbol="status-released" title="${message:PAGEELEMENT_RELEASED}"/> 70 </if> 71 <else> 72 <image symbol="blank" /> 73 </else> 74 75 <if true="${active}"> 76 <image symbol="status-active" title="${message:active}"/> 77 </if> 78 <else> 79 <image symbol="blank" /> 80 </else> 81 82 </column> 83 84 <!-- Actions --> 85 <column > 86 <if false="${publish}"> 87 <link clickable="true" type="post" subaction="release" var1="valueid" value1="${id}" 88 title="${message:RELEASE_DESC}"> 89 <image method="release"/> 90 </link> 91 </if> 92 <else> 93 <image symbol="blank" /> 94 </else> 95 96 <if false="${active}"> 97 <link clickable="true" type="post" subaction="restore" var1="valueid" value1="${id}" 98 title="${message:RESTORE_DESC}"> 99 <image method="restore"/> 100 </link> 101 </if> 102 </column> 103 </row> 104 </list> 105 </table> 106 </group> 107 </list> 108 </form> 109 </output>
Download modules/cms/ui/themes/default/html/views/template/history.tpl.src.xml
History Sun, 10 Apr 2022 11:59:03 +0200 dankert Fix: Output the model name instead of the language (there is no language in this context). Sat, 27 Nov 2021 22:29:22 +0100 Jan Dankert UI-Cleanup: Display action buttons in a column. Sat, 27 Nov 2021 04:38:28 +0100 Jan Dankert New: Option to explicitly release a new template source. Sat, 27 Nov 2021 00:11:56 +0100 Jan Dankert New: History for files and templates.