Commit 6f441128 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel 🏀

add FAQ tab

parent dfe03db8
......@@ -44,6 +44,7 @@
},
"contact": {
"about": "Über THMcards",
"faq": "FAQ",
"impressum": "Impressum",
"datenschutz": "Datenschutz",
"agb": "AGB"
......
......@@ -52,8 +52,9 @@
},
"contact": {
"about": "About THMcards",
"faq": "FAQ",
"impressum": "Legal Notice",
"datenschutz": "Data protection",
"datenschutz": "Data Protection",
"agb": "GTC"
},
"notifications": {
......
......@@ -27,6 +27,11 @@ Router.route('about', {
template: 'contact'
});
Router.route('faq', {
name: 'faq',
template: 'contact'
});
Router.route('impressum', {
name: 'impressum',
template: 'contact'
......@@ -266,6 +271,7 @@ Router.onBeforeAction(isSignedIn, {
except: [
'home',
'about',
'faq',
'impressum',
'agb',
'datenschutz'
......
......@@ -2,6 +2,7 @@
<div id="contact" class="col-md-8 col-md-offset-2">
<nav class="nav nav-tabs nav-justified">
<li class="sm-12 md-3 {{#unless isActiveRoute 'about'}}inactive{{/unless}}"><a id="about" href="{{pathFor route='about'}}">{{_ "contact.about"}}</a></li>
<li class="sm-12 md-3 {{#unless isActiveRoute 'faq'}}inactive{{/unless}}"><a id="about" href="{{pathFor route='faq'}}">{{_ "contact.faq"}}</a></li>
<li class="sm-12 md-3 {{#unless isActiveRoute 'impressum'}}inactive{{/unless}}"><a id="impressum" href="{{pathFor route='impressum'}}">{{_ "contact.impressum"}}</a></li>
<li class="sm-12 md-3 {{#unless isActiveRoute 'agb'}}inactive{{/unless}}"><a id="datenschutz" href="{{pathFor route='agb'}}">{{_ "contact.agb"}}</a></li>
<li class="sm-12 md-3 {{#unless isActiveRoute 'datenschutz'}}inactive{{/unless}}"><a id="agb" href="{{pathFor route='datenschutz'}}">{{_ "contact.datenschutz"}}</a></li>
......@@ -10,6 +11,9 @@
{{#if isActiveRoute 'about'}}
{{> about}}
{{/if}}
{{#if isActiveRoute 'faq'}}
{{> faq}}
{{/if}}
{{#if isActiveRoute 'impressum'}}
{{> impressum}}
{{/if}}
......@@ -64,6 +68,29 @@
</div>
</template>
<template name="faq">
<div class="panel panel-default">
<div class="panel-heading">
Oft gestellte Fragen
</div>
<div class="panel-body">
<ol>
<li>
<b>Frage:</b>
<br/>
Ich kenne mich mit der Linux-Konsole einigermaßen aus. Kann ich THMcards auf meinem Laptop installieren und offline benutzen?
<br/>
<p>
<b>Antwort:</b>
<br/>
Ja, THMcards ist Open Source. Eine <a href="https://git.thm.de/arsnova/flashcards/blob/staging/README.md" target="_blank">Installationsanweisung</a> findest du im THM-Gitlab.
</p>
</li>
</ol>
</div>
</div>
</template>
<template name="impressum">
<div class="panel panel-default">
<div class="panel-heading">
......
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