Changeset 20786

Show
Ignore:
Timestamp:
03/03/10 16:16:43 (6 months ago)
Author:
contrino
Message:

modmine web: temporary fix for long list of primer (column made unsortable for primers)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modmine/webapp/resources/webapp/model/experiment.jsp

    r20632 r20786  
    104104<c:set var="worm" value=""/> 
    105105<c:set var="ncbiftp" value="ftp://ftp.ncbi.nlm.nih.gov"/> 
     106<c:set var="isPrimer" value="primer"/> 
    106107 
    107108  <im:boxarea title="${exp.name}" stylename="gradientbox"> 
     
    330331    <th>Date</th> 
    331332      <c:forEach items="${exp.factorTypes}" var="factor"> 
    332         <th class="sortable"><c:out value="${factor}"></c:out></th> 
     333 
     334<%-- TEMP FIX for long list of primers --%> 
     335           <c:choose> 
     336           <c:when test="${fn:contains(factor,isPrimer)}"> 
     337           <th ><c:out value="${factor}"></c:out></th> 
     338           </c:when> 
     339          <c:otherwise> 
     340      <th class="sortable"><c:out value="${factor}"></c:out></th> 
     341          </c:otherwise> 
     342          </c:choose> 
     343 
    333344      </c:forEach> 
    334345    <th>Features, GBrowse and Data Files</th> 
     
    345356      <c:forEach items="${exp.factorTypes}" var="factorType"> 
    346357      <c:set var="thisTypeCount" value="0"></c:set> 
     358 
    347359       <td class="sorting"> 
    348360            <c:forEach items="${sub.experimentalFactors}" var="factor" varStatus="status">