openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

history.tpl.src.xml (2151B)


      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 		<group collapsible="true" title="${message:history}">
      5 
      6 			<table>
      7 				<row header="true">
      8 
      9 					<column class="-visible-on-desktop,table-column-date">
     10 						<text class="" value="${message:DATE}"/>
     11 					</column>
     12 					<column class="-visible-on-desktop,table-column-user">
     13 						<text class="" value="${message:USER}"/>
     14 					</column>
     15 					<column class="table-column-action">
     16 						<text value="${message:STATE}"/>
     17 					</column>
     18 					<column class="table-column-action">
     19 						<text value="${message:ACTION}"/>
     20 					</column>
     21 				</row>
     22 
     23 				<if empty="${values}">
     24 					<row>
     25 						<column colspan="8">
     26 							<text value="${message:NOT_FOUND}"/>
     27 						</column>
     28 					</row>
     29 				</if>
     30 				<list list="${values}" extract="true">
     31 					<row class="data">
     32 						<column class="-visible-on-desktop">
     33 							<date date="${date}"/>
     34 						</column>
     35 						<column class="-visible-on-desktop">
     36 							<text value="${user}"/>
     37 						</column>
     38 
     39 						<!-- State -->
     40 						<column>
     41 							<if true="${publish}">
     42 								<image symbol="status-released" title="${message:PAGEELEMENT_RELEASED}"/>
     43 							</if>
     44 							<if true="${active}">
     45 								<image symbol="status-active" title="${message:active}"/>
     46 							</if>
     47 						</column>
     48 
     49 						<!-- Actions -->
     50 						<column>
     51 							<if false="${publish}">
     52 								<link clickable="true" type="post" subaction="release" var1="valueid" value1="${id}"
     53 									  id="${objectid}" title="${message:RELEASE_DESC}">
     54 									<image method="release"/>
     55 								</link>
     56 							</if>
     57 							<if false="${active}">
     58 								<link clickable="true" type="post" subaction="restore" var1="valueid" value1="${id}"
     59 									  id="${objectid}" title="${message:RESTORE_DESC}">
     60 									<image method="restore"/>
     61 								</link>
     62 							</if>
     63 						</column>
     64 					</row>
     65 				</list>
     66 			</table>
     67 		</group>
     68 	</form>
     69 </output>