From greg@bx.psu.edu Mon Feb 15 15:40:14 2010 From: Greg Von Kuster To: galaxy-dev@lists.galaxyproject.org Subject: [galaxy-dev] [hg] galaxy 3394: Do not display the work None if the libray syn... Date: Mon, 15 Feb 2010 15:40:02 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7278229012402711034==" --===============7278229012402711034== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable details: http://www.bx.psu.edu/hg/galaxy/rev/eeff3f4f9b81 changeset: 3394:eeff3f4f9b81 user: Greg Von Kuster 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 i= s 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 =20 -
- ${library.synopsis} -
-
+ %if library.synopsis not in [ 'None', None ]: +
+ ${library.synopsis} +
+
+ %endif =20
--===============7278229012402711034==--