Changeset 72 for trunk/grails-app/taglib


Ignore:
Timestamp:
Jun 18, 2011, 10:23:22 PM (11 years ago)
Author:
robert@…
Message:

Implemented addition of logfiles to sequence data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/nl/tno/massSequencing/UploadTagLib.groovy

    r30 r72  
    8282         */
    8383        def uploadedFile = { attrs ->
     84                def description = attrs.description ?: attrs.value;
     85               
    8486                if( attrs.value != null )
    85                         out << '<span class="uploadedFile">' + attrs.value + '</span>'
     87                        out << '<span class="uploadedFile" rel="' + attrs.value.toString().encodeAsHTML() + '">' + description + '</span>'
    8688        }
    8789}
Note: See TracChangeset for help on using the changeset viewer.