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.
This commit is contained in:
John Chilton
2014-01-20 09:39:12 -06:00
parent 02e2a9979d
commit 957e529b2a
+2 -1
View File
@@ -131,6 +131,7 @@ var GalaxyMasthead = Backbone.View.extend(
// 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 @@ var GalaxyMasthead = Backbone.View.extend(
'<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>' +