openrat-cms

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

edit.tpl.src.xml (2180B)


      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 	<table>
      4 		<row header="true">
      5 			<column header="true" class="table-column-auto">
      6 				<text value="${message:name}"/>
      7 			</column>
      8 			<column header="true" class="table-column-action"/>
      9 		</row>
     10 		<list list="${projects}" extract="true">
     11 			<row class="data">
     12 				<column class="act-clickable">
     13 					<!-- Open the project -->
     14 					<link type="open" id="${id}" name="${name}" action="project">
     15 						<image action="project"/>
     16 						<text value="${name}" />
     17 					</link>
     18 				</column>
     19 				<column class="">
     20 
     21 					<part class="button,button--active-on-hover,toolbar-icon,row--on-hover">
     22 						<image class="menu-icon" menu="more"/>
     23 						<part class="dropdown,button-value">
     24 							<part
     25 								class="dropdown-entry,act-clickable">
     26 								<link type="dialog" id="${id}" title="${message:menu_info_desc}" action="project"
     27 									  subaction="info">
     28 									<image method="info"/>
     29 									<text class="dropdown-text" value="${message:menu_info}"/>
     30 								</link>
     31 							</part>
     32 							<part
     33 								class="dropdown-entry,act-clickable">
     34 								<link type="dialog" id="${id}" title="${message:menu_prop_desc}" action="project"
     35 									  subaction="prop">
     36 									<image method="prop"/>
     37 									<text class="dropdown-text" value="${message:menu_prop}"/>
     38 								</link>
     39 							</part>
     40 							<part
     41 								class="dropdown-entry,act-clickable">
     42 								<link type="dialog" id="${id}" title="${message:menu_history_desc}" action="project"
     43 									  subaction="history">
     44 									<image method="history"/>
     45 									<text class="dropdown-text" value="${message:menu_history}"/>
     46 								</link>
     47 							</part>
     48 						</part>
     49 					</part>
     50 
     51 				</column>
     52 			</row>
     53 		</list>
     54 	</table>
     55 
     56 	<if value="${add}"><!-- Is it allowed to add a new project? -->
     57 
     58 		<!-- Add a new project -->
     59 		<part class="act-clickable,button-knob">
     60 			<link type="dialog" subaction="add">
     61 				<image method="add"/>
     62 				<text value="${message:add}"/>
     63 			</link>
     64 		</part>
     65 	</if>
     66 
     67 </output>