This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/application.hbs
Penar Musaraj f060c9b3ff UI: improvements to footer nav for app and PWAs
Adds support for iPad and Chrome PWAs

Better scroll direction logic when reaching bottom of the page
2019-04-11 14:11:26 -04:00

40 lines
1.2 KiB
Handlebars

{{plugin-outlet name="above-site-header"}}
{{site-header canSignUp=canSignUp
showCreateAccount=(route-action "showCreateAccount")
showLogin=(route-action "showLogin")
showKeyboard=(route-action "showKeyboardShortcutsHelp")
toggleMobileView=(route-action "toggleMobileView")
toggleAnonymous=(route-action "toggleAnonymous")
logout=(route-action "logout")}}
{{plugin-outlet name="below-site-header" args=(hash currentPath=currentPath)}}
<div id="main-outlet" class="wrap">
{{plugin-outlet name="above-main-container"}}
<div class="container">
{{#if showTop}}
{{custom-html name="top"}}
{{/if}}
{{notification-consent-banner}}
{{global-notice}}
{{create-topics-notice}}
{{plugin-outlet name="top-notices" args=(hash currentPath=currentPath)}}
</div>
{{outlet}}
{{outlet "user-card"}}
</div>
{{plugin-outlet name="above-footer" args=(hash showFooter=showFooter)}}
{{#if showFooter}}
{{custom-html name="footer" triggerAppEvent="true"}}
{{/if}}
{{plugin-outlet name="below-footer" args=(hash showFooter=showFooter)}}
{{outlet "modal"}}
{{topic-entrance}}
{{outlet "composer"}}
{{#if showFooterNav}}
{{footer-nav}}
{{/if}}