Show
Ignore:
Timestamp:
04-02-10 14:34:56 (4 years ago)
Author:
ademcan
Message:

new view for studies comparison and study details

Files:
1 modified

Legend:

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

    r165 r171  
    3434      <a href="#"> Study Information </a> 
    3535         
    36        <div> Id : ${fieldValue(bean: studyInstance, field: "id")} <br> 
    37        Template :<g:link controller="template" action="show" id="${studyInstance?.template?.id}">${studyInstance?.template?.encodeAsHTML()}</g:link><br> 
    38        Start :<g:formatDate date="${studyInstance?.startDate}" /> <br> 
    39       Sampling Events : 
     36       <div><b> Id </b>: ${fieldValue(bean: studyInstance, field: "id")} <br> 
     37         <b>Template </b>:<g:link controller="template" action="show" id="${studyInstance?.template?.id}">${studyInstance?.template?.encodeAsHTML()}</g:link><br> 
     38         <b> Start </b>:<g:formatDate date="${studyInstance?.startDate}" /> <br> 
     39         <b>Sampling Events </b>: 
    4040          <g:each in="${studyInstance.samplingEvents}" var="s"><ul> 
    4141            <li><g:link controller="samplingEvent" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 
    4242          </g:each> 
    4343        </ul><br> 
    44        Last Updated :<g:formatDate date="${studyInstance?.lastUpdated}" /><br> 
    45              Readers :<ul> 
     44        <b>Last Updated </b>:<g:formatDate date="${studyInstance?.lastUpdated}" /><br> 
     45        <b>Readers </b>:<ul> 
    4646          <g:each in="${studyInstance.readers}" var="r"> 
    4747            <li><g:link controller="user" action="show" id="${r.id}">${r?.encodeAsHTML()}</g:link></li> 
    4848          </g:each> 
    4949        </ul> <br> 
    50       Code : ${fieldValue(bean: studyInstance, field: "code")} <br> 
    51       Editors : <ul> 
     50        <b>Code </b>: ${fieldValue(bean: studyInstance, field: "code")} <br> 
     51        <b>Editors </b>: <ul> 
    5252          <g:each in="${studyInstance.editors}" var="e"> 
    5353            <li><g:link controller="user" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> 
    5454          </g:each> 
    5555        </ul> <br> 
    56      EC Code : ${fieldValue(bean: studyInstance, field: "ecCode")} <br> 
    57      Research Question : ${fieldValue(bean: studyInstance, field: "researchQuestion")} <br> 
    58      Title : ${fieldValue(bean: studyInstance, field: "title")} <br> 
    59      Description : ${fieldValue(bean: studyInstance, field: "description")} <br> 
    60      Owner :<g:link controller="user" action="show" id="${studyInstance?.owner?.id}">${studyInstance?.owner?.encodeAsHTML()}</g:link> <br> 
    61       Date Created :<g:formatDate date="${studyInstance?.dateCreated}" /> <br> 
     56        <b>EC Code </b>: ${fieldValue(bean: studyInstance, field: "ecCode")} <br> 
     57        <b>Research Question </b>: ${fieldValue(bean: studyInstance, field: "researchQuestion")} <br> 
     58        <b>Title </b>: ${fieldValue(bean: studyInstance, field: "title")} <br> 
     59        <b>Description </b>: ${fieldValue(bean: studyInstance, field: "description")} <br> 
     60        <b>Owner </b>:<g:link controller="user" action="show" id="${studyInstance?.owner?.id}">${studyInstance?.owner?.encodeAsHTML()}</g:link> <br> 
     61        <b>Date Created </b>:<g:formatDate date="${studyInstance?.dateCreated}" /> <br> 
    6262       </div> 
    6363