Ignore:
Timestamp:
Feb 4, 2011, 10:55:05 AM (10 years ago)
Author:
robert@…
Message:

Implemented enhancement #258, opening an assay outside the frame. This functionality needs an upgrade of the gdt plugin first.
Also added authorization to the assayModule controller, such that only administrators can use it.

File:
1 edited

Legend:

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

    r1453 r1490  
    3232                  <td>${assay.module.platform}</td>
    3333                  <td>
    34           <jumpbar:link frameSource="${assay.module.url}/assay/showByToken/${assay.giveUUID()}" pageTitle="Metabolomics Module">
    35                         view
    36                   </jumpbar:link></td>
     34                        <g:if test="${assay.module.openInFrame == null || assay.module.openInFrame == Boolean.TRUE}">
     35                  <jumpbar:link frameSource="${assay.module.url}/assay/showByToken/${assay.giveUUID()}" pageTitle="Metabolomics Module">
     36                                view
     37                          </jumpbar:link>
     38                         </g:if>
     39                         <g:else>
     40                                <g:link url="${assay.module.url}/assay/showByToken/${assay.giveUUID()}">view</g:link>
     41                         </g:else>
     42                </td>
    3743                  <td>
    3844                        <% sortedAssaySamples = assay.samples.sort( { a, b -> a.name <=> b.name } as Comparator )  %>
Note: See TracChangeset for help on using the changeset viewer.