Commit bbc6545e authored by Curtis Adam's avatar Curtis Adam

Add 'Back to Login' button for impressum, agb and datenschutz sites

parent 2705f805
......@@ -9,7 +9,8 @@
"intro": {
"about": "Was ist THMcards?",
"choose": "",
"impressum": "Impressum"
"impressum": "Impressum",
"backButton": "Zurück zum Login"
},
"carousel-inner": {
"carousel-header-0": "Deine digitalen Lernkarten",
......
......@@ -9,7 +9,8 @@
"intro": {
"about": "About THMcards",
"choose": "Select your login:",
"impressum": "Legal Notice"
"impressum": "Legal Notice",
"backButton": "Back to Login"
},
"carousel-inner": {
"carousel-header-0": " Your digital flashcards",
......
......@@ -38,6 +38,9 @@
</p>
</div>
</div>
<button class="btn btn-raised btn-danger back-button" id="back-button">
<span class="pull-left">{{_ "intro.backButton"}}</span>
</button>
</div>
</template>
......@@ -182,6 +185,9 @@
<p>Stand: 17.10.2016</p>
</div>
</div>
<button class="btn btn-raised btn-danger back-button" id="back-button">
<span class="pull-left">{{_ "intro.backButton"}}</span>
</button>
</div>
</template>
......@@ -280,5 +286,8 @@
</p>
</div>
</div>
<button class="btn btn-raised btn-danger back-button" id="back-button">
<span class="pull-left">{{_ "intro.backButton"}}</span>
</button>
</div>
</template>
//------------------------ IMPORTS
import {Template} from "meteor/templating";
import "./impressum.html";
/*
* ############################################################################
* impressum
* ############################################################################
*/
Template.impressum.events({
'click #back-button': function () {
Router.go('home');
}
});
/*
* ############################################################################
* agb
* ############################################################################
*/
Template.agb.events({
'click #back-button': function () {
Router.go('home');
}
});
/*
* ############################################################################
* datenschutz
* ############################################################################
*/
Template.datenschutz.events({
'click #back-button': function () {
Router.go('home');
}
});
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