diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-07-23 13:26:44 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-07-23 13:26:44 +0200 |
commit | 202b797fe683fd47e02f1c0e22b50085851e5ed3 (patch) | |
tree | 5d9aa2ce37c3b372b3e16d6f2d794307dcbb686c /view/tpl | |
parent | 9df96fa03b73513ded6163de7d08afc318c61575 (diff) | |
download | volse-hubzilla-202b797fe683fd47e02f1c0e22b50085851e5ed3.tar.gz volse-hubzilla-202b797fe683fd47e02f1c0e22b50085851e5ed3.tar.bz2 volse-hubzilla-202b797fe683fd47e02f1c0e22b50085851e5ed3.zip |
Remove language selector from help pages.
It is not in sync with the languages available for the rest of the
Hubzilla UI, so it was confusing and in the way of just supporting
localized help using the same mechanism as the rest of the code.
Also allowed deleting a good chunck of javascript from the help logic.
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/help.tpl | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index ba61a43ce..1cc66d258 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,18 +1,5 @@ <div id="help-content" class="generic-content-wrapper"> <div class="clearfix section-title-wrapper"> - <div class="float-end"> - <div class="btn-group"> - <button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-bs-toggle="dropdown"> - <i class="fa fa-language" style="font-size: 1.4em;"></i> - </button> - <div class="dropdown-menu dropdown-menu-end 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> - <a class="dropdown-item lang-choice" href="/help">fr</a> - </div> - </div> - </div> <h2>{{$module->get_page_title()}}</h2> </div> <div class="section-content-wrapper" id="doco-content"> @@ -26,6 +13,3 @@ {{$module->render_content()}} </div> </div> -<script> - var help_language = '{{$module->lang["language"]}}' -</script> |