Ignore:
Timestamp:
Apr 27, 2011, 2:35:16 PM (9 years ago)
Author:
robert@…
Message:

Adjusted study view to show only a few samples if the list is very large

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/show_assays.gsp

    r1689 r1792  
     1<%@ page import="dbnp.studycapturing.Sample" %>
    12<g:if test="${studyList*.assays?.flatten()?.size()==0}">
    23  No assays in these studies
     
    3940                  <td>
    4041                        <% sortedAssaySamples = assay?.samples.sort( { a, b -> a.name <=> b.name } as Comparator )  %>
    41                         ${sortedAssaySamples.name.join( ', ' )}
     42                        ${Sample.trimSampleNames( sortedAssaySamples, 400 )}
    4243                  </td>
    4344                </tr>
Note: See TracChangeset for help on using the changeset viewer.