Ignore:
Timestamp:
Nov 1, 2010, 12:42:49 PM (12 years ago)
Author:
robert@…
Message:

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

File:
1 edited

Legend:

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

    r996 r1027  
    1717<html>
    1818        <head>
    19                 <meta name="layout" content="dialog"/>
     19                <meta name="layout" content="${layout}"/>
    2020                <title>template editor</title>
    2121                <script src="${createLinkTo(dir: 'js', file: 'templateEditor.js')}" type="text/javascript"></script>
     
    2626                  <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js')}"></script>
    2727                </g:else>
     28
     29                <style type="text/css">
     30                  #content .templateEditorStep { font-size: 0.8em; }
     31                </style>
    2832        </head>
    2933        <body>
     
    8084                <g:if test="${template}">
    8185                        <div class="templateEditorStep" id="step2_selectedFields">
    82                                 <h3 class="templateName">${template.name} (<a class="switch" href="${createLink(action:'index')}?entity=${encryptedEntity.encodeAsURL()}">switch</a>)</h3>
     86                                <h3 class="templateName">${template.name} (<a class="switch" href="${createLink(action:'index',params: extraparams + [ 'entity': encryptedEntity ])}">switch</a>)</h3>
    8387
    8488                                <p>Currently, this template contains the following fields. Drag fields to reorder. Drag fields to the list of available fields to remove the field from the template.</p>
     
    117121                        </div>
    118122                </g:if>
    119 
     123                <br clear="all" />
    120124                <div id="ontologyDialog">
    121125                  <g:render template="ontologyDialog" />
Note: See TracChangeset for help on using the changeset viewer.