1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/515151397bc5/ changeset: 515151397bc5 user: greg date: 2011-06-07 20:53:53 summary: Revert change set 2b4d50205705, adding a [missing] comment so all meta data items will always be displayed on the ldda_info page. affected #: 1 file (12 bytes) --- a/templates/library/common/ldda_info.mako Tue Jun 07 14:36:46 2011 -0400 +++ b/templates/library/common/ldda_info.mako Tue Jun 07 14:53:53 2011 -0400 @@ -135,23 +135,22 @@ <div class="form-row"><div>${ldda.blurb}</div></div> + ## We want to display all metadata item here, whether marked visible or not since they are all pretty useful %for name, spec in ldda.metadata.spec.items(): - %if spec.visible: - <div class="form-row"> - <label>${spec.desc.replace( ' (click box & select)', '' )}:</label> - <% - metadata_val = ldda.metadata.get( name ) - if isinstance( metadata_val, trans.model.MetadataFile ): - metadata_val = metadata_val.file_name - elif isinstance( metadata_val, list ): - # Make sure list items are strings - metadata_val = [ str( item ) for item in metadata_val ] - metadata_val = ', '.join( metadata_val ) - %> - ${metadata_val} - <div style="clear: both"></div> - </div> - %endif + <div class="form-row"> + <label>${spec.desc.replace( ' (click box & select)', '' )}:</label> + <% + metadata_val = ldda.metadata.get( name ) + if isinstance( metadata_val, trans.model.MetadataFile ): + metadata_val = metadata_val.file_name + elif isinstance( metadata_val, list ): + # Make sure list items are strings + metadata_val = [ str( item ) for item in metadata_val ] + metadata_val = ', '.join( metadata_val ) + %> + ${metadata_val} + <div style="clear: both"></div> + </div> %endfor %if ldda.peek != "no peek": <div class="form-row"> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.