aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/help.tpl
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-24 21:58:44 +0200
committerGitHub <noreply@github.com>2017-08-24 21:58:44 +0200
commit9cb856d5fd1505577fb50de299a63ef4ac7b5783 (patch)
treead24adea25fbc6649a102f14889729661013c386 /view/tpl/help.tpl
parent2d5768b71c0fa588524849749cfb0b6ffe6300b7 (diff)
parent90ec3340e44a3d3c69779f0db33ee49e864f326d (diff)
downloadvolse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.tar.gz
volse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.tar.bz2
volse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.zip
Merge pull request #849 from anaqreon/doco
Added language selector menu for Help pages
Diffstat (limited to 'view/tpl/help.tpl')
-rw-r--r--view/tpl/help.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl
index 31e5b9794..bdb25edf1 100644
--- a/view/tpl/help.tpl
+++ b/view/tpl/help.tpl
@@ -1,5 +1,17 @@
<div id="help-content" class="generic-content-wrapper">
<div class="section-title-wrapper">
+ <div class="pull-right">
+ <div class="btn-group">
+ <button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown">
+ <i class="fa fa-language" style="font-size: 1.4em;"></i><span class="caret"></span>
+ </button>
+ <div class="dropdown-menu dropdown-menu-right flex-column lang-selector">
+ <a class="dropdown-item lang-choice" href="/help">de</a>
+ <a class="dropdown-item lang-choice" href="/help">en</a>
+ <a class="dropdown-item lang-choice" href="/help">es</a>
+ </div>
+ </div>
+ </div>
<h2>{{$title}}: {{$heading}}</h2>
</div>
<div class="section-content-wrapper" id="doco-content">
@@ -13,3 +25,6 @@
{{$content}}
</div>
</div>
+<script>
+ var help_language = '{{$language}}'
+</script>