diff options
author | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:41 +0000 |
---|---|---|
committer | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:41 +0000 |
commit | cf2609530fcffdc7f5477336232b7cfde8b6403f (patch) | |
tree | f93c35c66cbc636a92ba53ca3bb60e6c8fbe38b7 /view/tpl/help.tpl | |
parent | 592cf893c006f24c652902fa4fae7d2d94496c3c (diff) | |
download | volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.gz volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.bz2 volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.zip |
Added language selector menu for Help pages
Diffstat (limited to 'view/tpl/help.tpl')
-rw-r--r-- | view/tpl/help.tpl | 15 |
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> |