Files
core/view/tpl/help.tpl
Harald Eilertsen 26ce231951 Use html details element for toc on top of help pages.
This allows us to get rid of some more unneccessary JavaScript that just
implements stuff that web browsers now do anyways.
2024-09-29 14:00:45 +02:00

20 lines
586 B
Smarty

<div id="help-content" class="generic-content-wrapper">
<div class="clearfix section-title-wrapper">
<h2>{{$module->get_page_title()}}</h2>
</div>
{{if $module->missing_translation()}}
<div class="notice section-content-info-wrapper">
{{$module->missing_translation_message()}}
</div>
{{/if}}
<div class="section-content-wrapper">
<details id="doco-top-toc-wrapper">
<summary id="doco-top-toc-heading">{{$module->get_toc_heading()}}</summary>
<ul id="doco-top-toc"></ul>
</details>
<div id="doco-content">
{{$module->render_content()}}
</div>
</div>
</div>