commit/galaxy-central: jmchilton: Fix small bug in handling of 'brand' text.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5404f0c3d733/ Changeset: 5404f0c3d733 User: jmchilton Date: 2014-01-20 16:39:12 Summary: Fix small bug in handling of 'brand' text. This was changed in 5828950834e3c888683dbeb567e10bcaf335c94f, after that commit the brand was no longer preceeded by a / in the masthead the way it is in the title. I assume this was an oversite and not intentional, if intentional feel free to backout of this commit. Affected #: 1 file diff -r 91cfc4bf86ef734a9a068cf6920e2a2db20f696f -r 5404f0c3d733f25ba803bc6e0568fb889b1894c2 static/scripts/galaxy.masthead.js --- a/static/scripts/galaxy.masthead.js +++ b/static/scripts/galaxy.masthead.js @@ -131,6 +131,7 @@ // fill template _template: function(options) { + var brand_text = options.brand ? ("/ " + options.brand) : "" ; return '<div><div id="masthead" class="navbar navbar-fixed-top navbar-inverse">' + '<div style="position: relative; right: -50%; float: left;">' + '<div id="navbar" style="display: block; position: relative; right: 50%;"></div>' + @@ -138,7 +139,7 @@ '<div class="navbar-brand">' + '<a href="' + options.logo_url + '">' + '<img border="0" src="' + galaxy_config.root + 'static/images/galaxyIcon_noText.png">' + - '<span id="brand"> Galaxy ' + options.brand + '</span>' + + '<span id="brand"> Galaxy ' + brand_text + '</span>' + '</a>' + '</div>' + '<div class="quota-meter-container"></div>' + 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.
participants (1)
-
commits-noreply@bitbucket.org