mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
UX: Show static page title. (#6273)
This commit is contained in:
parent
a26ef7738f
commit
b69f72853f
@ -34,6 +34,10 @@ export default function(page) {
|
||||
this.controllerFor("static").set("model", model);
|
||||
},
|
||||
|
||||
titleToken() {
|
||||
return I18n.t(page);
|
||||
},
|
||||
|
||||
actions: {
|
||||
didTransition() {
|
||||
this.controllerFor("application").set("showFooter", true);
|
||||
|
@ -10,7 +10,7 @@
|
||||
{{else}}
|
||||
<li class="nav-item-faq">{{#link-to 'faq'}}{{i18n 'faq'}}{{/link-to}}</li>
|
||||
{{/if}}
|
||||
<li class="nav-item-tos">{{#link-to 'tos'}}{{i18n 'terms_of_service'}}{{/link-to}}</li>
|
||||
<li class="nav-item-tos">{{#link-to 'tos'}}{{i18n 'tos'}}{{/link-to}}</li>
|
||||
<li class="nav-item-privacy">{{#link-to 'privacy'}}{{i18n 'privacy'}}{{/link-to}}</li>
|
||||
</ul>
|
||||
|
||||
|
@ -228,7 +228,7 @@ en:
|
||||
guidelines: "Guidelines"
|
||||
privacy_policy: "Privacy Policy"
|
||||
privacy: "Privacy"
|
||||
terms_of_service: "Terms of Service"
|
||||
tos: "Terms of Service"
|
||||
mobile_view: "Mobile View"
|
||||
desktop_view: "Desktop View"
|
||||
you: "You"
|
||||
|
Loading…
Reference in New Issue
Block a user