UX: Show static page title. (#6273)

This commit is contained in:
Bianca Nenciu 2018-08-17 10:47:11 +02:00 committed by Régis Hanol
parent a26ef7738f
commit b69f72853f
3 changed files with 6 additions and 2 deletions

View File

@ -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);

View File

@ -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>

View File

@ -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"