Ignore:
Timestamp:
Oct 26, 2010, 3:19:22 PM (12 years ago)
Author:
robert@…
Message:

Implemented clone feature in template editor (ticket #6), added a rest call 'getUser' and added webflow to the application.properties again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/templateEditor/template.gsp

    r959 r996  
    8888                                <ol id="selectedTemplateFields" class="templateFields <g:if test="${template.inUse()}">inUse</g:if>">
    8989                                        <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! */ %>
    9091                                        <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>
    9192                                </ol>
     
    9697                                <p>These fields are available for adding to the template. Drag a field to the template to add it.</p>
    9798                                <ol id="availableTemplateFields" class="templateFields">
     99                                        <g:render template="elements/available" var="templateField" collection="${allFields - template.fields}" />
    98100                                        <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}" />
    100101                                </ol>
    101102
     
    121122                </div>
    122123
    123         </body>
     124                <div id="wait" class="wait">
     125                  &nbsp;
     126                </div>
     127                <div class="wait_text wait">
     128                  <img src="<g:resource dir="images" file="spinner.gif" />"> Please wait
     129                </div>
     130                </body>
    124131</html>
Note: See TracChangeset for help on using the changeset viewer.