Ignore:
Timestamp:
Jan 26, 2011, 5:08:25 PM (9 years ago)
Author:
robert@…
Message:
  • Created tests for the synchronization and trash
  • Improved synchronizationservice and trash
  • Put authorization checks in several pages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assaySample/show.gsp

    r4 r7  
    11<h2>${assaySample.sample.name}</h2>
     2
     3<ul>
     4        <li><label>Study</label><span class="value">${assaySample.assay?.study?.name}</span></li>
     5        <li><label>Assay</label><span class="value">${assaySample.assay?.name}</span></li>
     6        <li><label>Sample</label><span class="value">${assaySample.sample?.name}</span></li>
     7        <li><label>Run</label><span class="value">${assaySample.run?.name}</span></li>
     8</ul>   
    29
    310<h2>Details</h2>
     
    613        <li><label>Tag sequence</label><span class="value">${assaySample.tagSequence}</span></li>
    714        <li><label>Oligo number</label><span class="value">${assaySample.oligoNumber}</span></li>
    8         <li><label>Run(s)</label><span class="value">${assaySample.sequenceData?.run.name.unique().join( ',' )}</span></li>
    915        <li><label># sequences</label><span class="value">${assaySample.numSequences() ?: '-'}</span></li>
    1016        <li><label>Average quality</label><span class="value">${assaySample.averageQuality() ?: '-'}</span></li>
     
    2026                                <th nowrap>Quality file</th>
    2127                                <th nowrap># sequences</th>
    22                                 <th nowrap>avg quality</th>
    2328                                <th class="nonsortable"></th>
    2429                        </tr>
     
    3439                                        </td>
    3540                                        <td>${sequenceData.numSequences}</td>
    36                                         <td>
    37                                                 <g:if test="${sequenceData.averageQuality > 0.0}">
    38                                                         <g:formatNumber number="${sequenceData.averageQuality}" format="0.0" />
    39                                                 </g:if>
    40                                                 <g:else>
    41                                                         -
    42                                                 </g:else>
    43                                         </td>
    44                                         <td class="button"><g:link onClick="return confirm( 'Are you sure you want to remove the selected files from this sample?' );" controller="fasta" action="deleteData" id="${sequenceData.id}"><img src="${fam.icon(name: 'delete')}" /></g:link></td>
     41                                        <td class="button"><g:link onClick="return confirm( 'Are you sure you want to remove the selected files from this sample?' );" controller="fasta" action="deleteData" id="${sequenceData.id}" params="[entityType: entityType]"><img src="${fam.icon(name: 'delete')}" /></g:link></td>
    4542                                </tr>
    4643                        </g:each>
Note: See TracChangeset for help on using the changeset viewer.