rights.tpl.src.xml (3054B)
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 <table filter="false"> 3 <list list="${projects}" extract="true"> 4 <row> 5 <column> 6 <group title="${projectname}"> 7 <if empty="${rights}"> 8 <row> 9 <column> 10 <text value="${message:NOT_FOUND}"/> 11 </column> 12 </row> 13 </if> 14 <if not="true" empty="${rights}"> 15 <table> 16 <row header="true"> 17 <column header="true" class="table-column-uer"> 18 <text value="${message:USER}"/> 19 </column> 20 <column header="true" class="table-column-auto"> 21 <text value="${message:NAME}"/> 22 </column> 23 <column header="true" class="table-column-user"> 24 <text value="${message:LANGUAGE}"/> 25 </column> 26 <list list="${show}" value="t"> 27 <column header="true" class="table-column-action"> 28 <text value="${message:acl_${t}_abbrev}" title="${message:acl_${t}}"/> 29 </column> 30 </list> 31 </row> 32 <list list="${rights}" key="aclid" value="acl" extract="true"> 33 <row class="data,act-clickable"> 34 <column> 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 title="${objectname}"> 49 <image action="${objecttype}"/> 50 <link type="open" action="${objecttype}" subaction="" id="${objectid}"> 51 <text value="${objectname}"/> 52 </link> 53 </column> 54 <column> 55 <text value="${languagename}" maxlength="20"/> 56 </column> 57 <list list="${show}"> 58 <column> 59 <set var="${list_value}" value="${bits}" key="${list_value}"/> 60 <checkbox name="${list_value}" readonly="true"/> 61 </column> 62 </list> 63 </row> 64 </list> 65 </table> 66 </if> 67 </group> 68 </column> 69 </row> 70 </list> 71 </table> 72 </output>