mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
classes for logo big and small
This commit is contained in:
parent
ade1f50f19
commit
190f7b4812
1 changed files with 2 additions and 2 deletions
|
@ -99,12 +99,12 @@ Discourse.HeaderView = Discourse.View.extend({
|
|||
if (this.get('controller.showExtraInfo')) {
|
||||
var logo = Discourse.SiteSettings.logo_small_url;
|
||||
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 {
|
||||
result += "<i class='icon-home'></i>";
|
||||
}
|
||||
} 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>";
|
||||
return new Handlebars.SafeString(result);
|
||||
|
|
Loading…
Reference in a new issue