details: http://www.bx.psu.edu/hg/galaxy/rev/eeff3f4f9b81 changeset: 3394:eeff3f4f9b81 user: Greg Von Kuster <greg@bx.psu.edu> date: Mon Feb 15 12:49:23 2010 -0500 description: Do not display the work None if the libray synopsis is blank - I know there is a better way to do this, but I cannot think of it right now... diffstat: templates/library/common/browse_library.mako | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diffs (20 lines): diff -r ea63aa4a9ff0 -r eeff3f4f9b81 templates/library/common/browse_library.mako --- a/templates/library/common/browse_library.mako Mon Feb 15 12:30:49 2010 -0500 +++ b/templates/library/common/browse_library.mako Mon Feb 15 12:49:23 2010 -0500 @@ -413,10 +413,12 @@ ${render_msg( msg, messagetype )} %endif - <div class="libraryItemBody"> - ${library.synopsis} - </div> - <br/> + %if library.synopsis not in [ 'None', None ]: + <div class="libraryItemBody"> + ${library.synopsis} + </div> + <br/> + %endif <form name="act_on_multiple_datasets" action="${h.url_for( controller='library_common', action='act_on_multiple_datasets', cntrller=cntrller, library_id=trans.security.encode_id( library.id ) )}" onSubmit="javascript:return checkForm();" method="post"> <table cellspacing="0" cellpadding="0" border="0" width="100%" class="grid" id="library-grid">