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

Last change on this file since 1027 was 1027, checked in by robert@…, 12 years ago

Implemented compare templates feature and fixed show studies overview (tickets #7 and #137)

  • Property svn:keywords set to Author Date Rev
File size: 1.5 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 onClick="cloneTemplate( ${} );"src="${createLinkTo( dir: 'images/icons', file: 'page_copy.png', plugin: 'famfamfam' )}" alt="Clone this template" title="Clone this template">
6  <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.">
11<form class="templateField_form" id="template_${}_form" action="updateTemplate">
12        <g:hiddenField name="id" value="${}" />
13        <g:hiddenField name="version" value="${template.version}" />
14        <g:hiddenField name="standalone" value="${standalone}" />
15        <g:render template="elements/templateForm" model="['template': template]"/>
16        <div class="templateFieldButtons">
17                <input type="button" value="Save" onClick="updateTemplate( ${} );">
18                <input type="button" value="Close" onClick="hideTemplateForm( ${} );">
19        </div>
Note: See TracBrowser for help on using the repository browser.