Changeset 996 for trunk/grails-app/views/templateEditor/template.gsp
- Timestamp:
- Oct 26, 2010, 3:19:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/templateEditor/template.gsp
r959 r996 88 88 <ol id="selectedTemplateFields" class="templateFields <g:if test="${template.inUse()}">inUse</g:if>"> 89 89 <g:render template="elements/selected" var="templateField" collection="${template.fields}" model="['template':template]"/> 90 <% /* NB: this empty field should always be the last in the list! */ %> 90 91 <li class="empty ui-state-default" <g:if test="${template.fields?.size() > 0 }">style='display: none;'</g:if>>This template does not yet contain any fields. Drag a field to this list or use the 'Add field button'.</li> 91 92 </ol> … … 96 97 <p>These fields are available for adding to the template. Drag a field to the template to add it.</p> 97 98 <ol id="availableTemplateFields" class="templateFields"> 99 <g:render template="elements/available" var="templateField" collection="${allFields - template.fields}" /> 98 100 <li class="empty ui-state-default" <g:if test="${allFields.size() > template.fields.size()}">style='display: none;'</g:if>>There are no additional fields that can be added. Use the 'Create new field' button to create new fields.</li> 99 <g:render template="elements/available" var="templateField" collection="${allFields - template.fields}" />100 101 </ol> 101 102 … … 121 122 </div> 122 123 123 </body> 124 <div id="wait" class="wait"> 125 126 </div> 127 <div class="wait_text wait"> 128 <img src="<g:resource dir="images" file="spinner.gif" />"> Please wait 129 </div> 130 </body> 124 131 </html>
Note: See TracChangeset
for help on using the changeset viewer.