Commit 9a67c0c8 authored by Curtis Adam's avatar Curtis Adam

Store the app slogan inside the server settings file

parent 6eeb3662
......@@ -42,6 +42,10 @@ Template.registerHelper('getLastAppTitle', function () {
return Meteor.settings.public.welcome.title.last;
});
Template.registerHelper('getAppSlogan', function () {
return Meteor.settings.public.welcome.title.slogan;
});
Template.registerHelper('isInBonus', function () {
return Bonus.isInBonus(Router.current().params._id, Meteor.userId());
});
......
......@@ -38,7 +38,7 @@
</div>
<span id="slogan">
<h2 class="pull-left">ORGANIZE. LEARN. MEMORIZE.</h2>
<h2 class="pull-left">{{getAppSlogan}}</h2>
</span>
<br>
{{#if isActiveRoute
......
......@@ -29,7 +29,8 @@
"welcome": {
"title": {
"first": "informatik",
"last": "cards"
"last": "cards",
"slogan": "ORGANIZE. LEARN. MEMORIZE."
},
"fakeStatistics": false
},
......
......@@ -29,7 +29,8 @@
"welcome": {
"title": {
"first": "debug",
"last": "cards"
"last": "cards",
"slogan": "ORGANIZE. LEARN. MEMORIZE."
},
"fakeStatistics": false
},
......
......@@ -29,7 +29,8 @@
"welcome": {
"title": {
"first": "review",
"last": "cards"
"last": "cards",
"slogan": "ORGANIZE. LEARN. MEMORIZE."
},
"fakeStatistics": false
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment