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

Last change on this file since 980 was 980, checked in by j.a.m.wesbeek@…, 12 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: 1.3 KB
1<g:set var="numUses" value="${template.numUses()}" />
2<span class="listButtons">
3  <img onClick="editTemplate( ${} );" src="${createLinkTo( dir: 'images/icons', file: 'application_edit.png', plugin: 'famfamfam' )}" alt="Edit template properties" title="Edit template properties">
4  <img onClick="editFields( ${} );"src="${createLinkTo( dir: 'images/icons', file: 'application_form.png', plugin: 'famfamfam' )}" alt="Add/remove template fields" title="Add/remove template fields">
5  <img class="disabled" src="${createLinkTo( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Deleting this template is not possible. Template is used in ${numUses} objects." title="Deleting this template is not possible. Template is used in ${numUses} objects.">
10<form class="templateField_form" id="template_${}_form" action="updateTemplate">
11        <g:hiddenField name="id" value="${}" />
12        <g:hiddenField name="version" value="${template.version}" />
13        <g:render template="elements/templateForm" model="['template': template]"/>
14        <div class="templateFieldButtons">
15                <input type="button" value="Save" onClick="updateTemplate( ${} );">
16                <input type="button" value="Close" onClick="hideTemplateForm( ${} );">
17        </div>
Note: See TracBrowser for help on using the repository browser.