Changeset 1263 for trunk/grails-app
- Timestamp:
- Dec 13, 2010, 8:29:59 PM (12 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/common/_topnav.gsp
r1262 r1263 36 36 <li><g:link controller="templateEditor" action="sample" params="${[standalone: true]}">Sample templates</g:link></li> 37 37 <li><g:link controller="templateEditor" action="assay" params="${[standalone: true]}">Assay templates</g:link></li> 38 <li><g:link controller="template" action="export">Export</g:link></li> 39 <li><g:link controller="template" action="importTemplate">Import</g:link></li> 38 40 </ul> 39 41 </li> -
trunk/grails-app/views/template/xml.gsp
r1257 r1263 35 35 <g:each in="${field.listEntries}" var="listEntry"> 36 36 <listItem> 37 < name>${listEntry.name?.encodeAsSimpleXML()}</name>37 <g:if test="${listEntry}"><name>${listEntry.name?.encodeAsSimpleXML()}</name></g:if> 38 38 </listItem> 39 39 </g:each> -
trunk/grails-app/views/templateEditor/compare.gsp
r1056 r1263 84 84 <% /* Length of long titles depends on the number of templates. 85 85 We've got about 90 characters to show in total */ 86 def numCharsLongTitle = Math.floor( 90 / templates.size() ) ;86 def numCharsLongTitle = Math.floor( 90 / templates.size() ).intValue(); 87 87 %> 88 88 <table id="compare_templates"> … … 106 106 <span class="longTitle"> 107 107 <g:if test="${currentTemplate.name.size() > numCharsLongTitle}"> 108 ${currentTemplate.name.substring(0, numCharsLongTitle - 3)}...108 ${currentTemplate.name.substring(0, numCharsLongTitle - 3)}... 109 109 </g:if> 110 110 <g:else>
Note: See TracChangeset
for help on using the changeset viewer.