openrat-cms

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

history.tpl.src.xml (2497B)


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