source: trunk/grails-app/views/templateEditor/elements/_liFieldSelected.gsp @ 980

Last change on this file since 980 was 980, checked in by j.a.m.wesbeek@…, 9 years ago
  • rewrote the css, javascript and views to use the famfamfam plugin instead
  • deleted the local famfamfam icons
  • Property svn:keywords set to Author Date Rev
File size: 1015 bytes
Line 
1<span class="listButtons">
2  <g:if test="${template.inUse()}">
3        <img class="disabled" src="${createLinkTo( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="This field can not be removed from the template, as the template is still in use." title="This field can not be removed from the template, as the template is still in use.">
4  </g:if>
5  <g:else>
6        <img onClick="removeTemplateField( ${templateField.id} ); moveFieldListItem( ${templateField.id}, '#availableTemplateFields' );" src="${createLinkTo( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Remove this template field from the template" title="Remove this template field from the template">
7  </g:else>
8</span>
9
10  <span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
11  <b>${templateField.name}</b>
12  (<g:if test="${templateField.unit}">${templateField.unit}, </g:if><g:render template="elements/${templateField.type.toString().toLowerCase().replaceAll(/ /,'_')}" model="[templateField: templateField]"/>)
13   
14
Note: See TracBrowser for help on using the repository browser.