rights.tpl.src.xml (2861B)
1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> 2 <list list="${projects}" extract="true"> 3 <group title="${projectname}"> 4 <if empty="${rights}"> 5 <part> 6 <text value="${message:NOT_FOUND}"/> 7 </part> 8 </if> 9 <if not="true" empty="${rights}"> 10 <table> 11 <row header="true"> 12 <column header="true" class="table-column-user"> 13 <text value="${message:USER}"/> 14 </column> 15 <column header="true" class="table-column-auto"> 16 <text value="${message:NAME}"/> 17 </column> 18 <column header="true" class="table-column-user"> 19 <text value="${message:LANGUAGE}"/> 20 </column> 21 <list list="${show}" value="t"> 22 <column header="true" class="table-column-action"> 23 <text value="${message:acl_${t}_abbrev}" title="${message:acl_${t}}"/> 24 <!--<text value="${message:acl_${data:t}_abbrev}" title="${message:acl_${data:t}}"></text>--> 25 </column> 26 </list> 27 </row> 28 <list list="${rights}" key="aclid" value="acl" extract="true"> 29 <row class="data,act-clickable"> 30 <column> 31 <if present="username"> 32 <image action="user"/> 33 <text value="${username}" maxlength="20"/> 34 </if> 35 <if present="groupname"> 36 <image action="group"/> 37 <text value="${groupname}" maxlength="20"/> 38 </if> 39 <if not="true" present="username"> 40 <if not="true" present="groupname"> 41 <image action="group"/> 42 <text value="${message:all}"/> 43 </if> 44 </if> 45 <set var="username"/> 46 <set var="groupname"/> 47 </column> 48 <column> 49 <image action="${objecttype}"/> 50 <link type="open" action="${objecttype}" id="${objectid}"> 51 <text value="${objectname}" title="${message:select}"/> 52 </link> 53 </column> 54 <column> 55 <image action="language"/> 56 <text value="${languagename}" maxlength="20"/> 57 </column> 58 <list list="${show}"> 59 <column title=""> 60 <set var="${list_value}" value="${bits}" key="${list_value}"/> 61 <checkbox name="${list_value}" readonly="true"/> 62 </column> 63 </list> 64 </row> 65 </list> 66 </table> 67 </if> 68 </group> 69 </list> 70 </output>