Created
August 13, 2015 14:35
-
-
Save jmayaalv/94ccf07e29e6268b848e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:Loop t:source="permissions" t:value="permission"> | |
<tr t:type="Zone" t:id="rowZone" id="prop:currentRowZoneId"> | |
<td>${permission.id}</td> | |
<td>${permission.name}</td> | |
<td> | |
<t:if test="authorized "> | |
<img src="${context:img/green.png}" style="height: 16px;"/> | |
</t:if> | |
<t:if test="!authorized "> | |
<img src="${context:img/red.png}" style="height: 16px;"/> | |
</t:if> | |
</td> | |
<td> | |
<t:if test="authorized "> | |
<a t:type="eventlink" t:event="remove" t:context="permission.id" t:zone="^" href="#">Remove</a> | |
</t:if> | |
<t:if test="!authorized "> | |
<a t:type="eventlink" t:event="add" t:context="permission.id" t:zone="^" href="#">Add</a> | |
</t:if> | |
</td> | |
</tr> | |
</t:Loop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment