mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +08:00
Allow switching between mobile and desktop view on any device.
This commit is contained in:
parent
c845071066
commit
e4e8d2fc34
|
@ -123,17 +123,15 @@
|
|||
{{#titledLinkTo "list.latest" titleKey="filters.latest.help"}}{{i18n filters.latest.title}}{{/titledLinkTo}}
|
||||
</li>
|
||||
<li>{{faqLink}}</li>
|
||||
{{#if mobileDevice}}
|
||||
<li>
|
||||
<a href="#" {{action toggleMobileView}}>
|
||||
{{#if mobileView}}
|
||||
{{i18n desktop_view}}
|
||||
{{else}}
|
||||
{{i18n mobile_view}}
|
||||
{{/if}}
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li>
|
||||
<a href="#" {{action toggleMobileView}}>
|
||||
{{#if mobileView}}
|
||||
{{i18n desktop_view}}
|
||||
{{else}}
|
||||
{{i18n mobile_view}}
|
||||
{{/if}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{#if categories}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user