mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 21:24:00 +08:00
Add link back to logo so it can be copied and pasted and what not.
This commit is contained in:
parent
06f37e692d
commit
e985ffc273
@ -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"),
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user