Add link back to logo so it can be copied and pasted and what not.

This commit is contained in:
Robin Ward 2014-06-10 13:26:37 -04:00
parent 06f37e692d
commit e985ffc273
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
export default Ember.Component.extend({
classNames: ["title"],
linkUrl: function() {
return Discourse.getURL('/');
}.property(),
showSmallLogo: function() {
return !Discourse.Mobile.mobileView && this.get("minimized");
}.property("minimized"),

View File

@ -1,4 +1,4 @@
<a href="/">
<a href="{{unbound linkUrl}}" data-auto-route="true">
{{#if showSmallLogo}}
{{#if smallLogoUrl}}
<img class="logo-small" src="{{unbound smallLogoUrl}}" width="33" height="33">