classes for logo big and small
This commit is contained in:
parent
ade1f50f19
commit
190f7b4812
|
@ -99,12 +99,12 @@ Discourse.HeaderView = Discourse.View.extend({
|
||||||
if (this.get('controller.showExtraInfo')) {
|
if (this.get('controller.showExtraInfo')) {
|
||||||
var logo = Discourse.SiteSettings.logo_small_url;
|
var logo = Discourse.SiteSettings.logo_small_url;
|
||||||
if (logo && logo.length > 1) {
|
if (logo && logo.length > 1) {
|
||||||
result += "<img src='" + logo + "' width='33' height='33'>";
|
result += "<img class='logo-small' src='" + logo + "' width='33' height='33'>";
|
||||||
} else {
|
} else {
|
||||||
result += "<i class='icon-home'></i>";
|
result += "<i class='icon-home'></i>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result += "<img src=\"" + Discourse.SiteSettings.logo_url + "\" alt=\"" + Discourse.SiteSettings.title + "\" id='site-logo'>";
|
result += "<img class='logo-big' src=\"" + Discourse.SiteSettings.logo_url + "\" alt=\"" + Discourse.SiteSettings.title + "\" id='site-logo'>";
|
||||||
}
|
}
|
||||||
result += "</a></div>";
|
result += "</a></div>";
|
||||||
return new Handlebars.SafeString(result);
|
return new Handlebars.SafeString(result);
|
||||||
|
|
Loading…
Reference in New Issue