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
2016-12-19 11:19:10 -05:00

32 lines
979 B
Handlebars

{{plugin-outlet name="above-site-header"}}
{{site-header canSignUp=canSignUp
showCreateAccount=(action "appRouteAction" "showCreateAccount")
showLogin=(action "appRouteAction" "showLogin")
showKeyboard=(action "appRouteAction" "showKeyboardShortcutsHelp")
toggleMobileView=(action "appRouteAction" "toggleMobileView")
toggleAnonymous=(action "appRouteAction" "toggleAnonymous")
logout=(action "appRouteAction" "logout")}}
{{plugin-outlet name="below-site-header"}}
<div id="main-outlet" class="wrap">
<div class="container">
{{#if showTop}}
{{custom-html name="top"}}
{{/if}}
{{global-notice}}
{{create-topics-notice}}
</div>
{{outlet}}
{{outlet "user-card"}}
</div>
{{plugin-outlet name="above-footer"}}
{{#if showFooter}}
{{custom-html name="footer"}}
{{/if}}
{{plugin-outlet name="below-footer"}}
{{outlet "modal"}}
{{topic-entrance}}
{{outlet "composer"}}