Changeset 789


Ignore:
Timestamp:
Aug 9, 2010, 2:02:07 PM (10 years ago)
Author:
vinlud
Message:

Name change Organ to Material and adding no results output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/simpleQuery/common/_query.gsp

    r755 r789  
    2525        </div>
    2626        <div class="element">
    27           <div class="description">Organ (e.g. 'liver')</div>
     27          <div class="description">Material (e.g. 'liver')</div>
    2828          <div class="input"><g:select name="organ" from="" value="${organ}" noSelection="['':'--- select organ/tissue ---']"/></div>
    2929        </div>
     
    4343            <g:each status="i" in="${search_sa_compounds}" var="compound">
    4444            <div id="compoundRow${i}">
    45               <div class="descriptionSA">Compound (e.g. 'glucose')</div><div class="input"><g:textField name="sa_compound" value="${search_sa_compounds.get(i)}"/></div><div class="descriptionSA">Type of regulations</div><div class="input"><g:select name="operator" from="${operators}" value="="/></div><div class="descriptionSA">Value</div><div class="input"><g:textField name="sa_value" value="${search_sa_values.get(i)}"/></div>
     45              <div class="descriptionSA">Compound (e.g. 'glucose')</div><div class="input"><g:textField name="sa_compound" value="${search_sa_compounds.get(i)}"/></div><div class="descriptionSA">Type of regulations</div><div class="input"><g:select name="sa_operator" from="${operators}" value="="/></div><div class="descriptionSA">Value</div><div class="input"><g:textField name="sa_value" value="${search_sa_values.get(i)}"/></div>
    4646            </div>
    4747            </g:each>
     
    6868
    6969    <g:if test="${search_term}">
    70         <h1><g:message code="Search results for term '${search_term}'"/></h1>
     70        <h1><g:message code="Search results"/></h1>
    7171
    7272        <g:if test="${listStudies}">
     
    9393
    9494        </g:if>
     95        <g:else>
     96          <g:message code="No studies found with term '${search_term}'"/> 
     97        </g:else>
    9598    </g:if>
    9699
Note: See TracChangeset for help on using the changeset viewer.