1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-07 02:10:26 +00:00
mycorrhiza/views/stuff.qtpl

26 lines
852 B
Plaintext
Raw Normal View History

{% import "github.com/bouncepaw/mycorrhiza/cfg" %}
2021-09-06 17:46:34 +00:00
{% import "github.com/bouncepaw/mycorrhiza/l18n" %}
2022-03-20 21:24:40 +00:00
{% func Help(content, lang string, lc *l18n.Localizer) %}
<div class="layout">
<main class="main-width help">
<article>
{%s= content %}
</article>
</main>
2022-03-20 21:24:40 +00:00
{%s= helpTopics(lang, lc) %}
</div>
{% endfunc %}
2022-03-20 21:24:40 +00:00
{% func HelpEmptyError(lc *l18n.Localizer) %}
2021-09-06 17:46:34 +00:00
<h1>{%s lc.Get("help.empty_error_title") %}</h1>
<p>{%s lc.Get("help.empty_error_line_1") %}</p>
<p>{%s lc.Get("help.empty_error_line_2a") %} <a class="wikilink wikilink_external wikilink_https" href="https://github.com/bouncepaw/mycorrhiza">{%s lc.Get("help.empty_error_link") %}</a> {%s lc.Get("help.empty_error_line_2b") %}</p>
{% endfunc %}
2022-03-22 13:40:40 +00:00
{% func commonScripts() %}
2021-07-01 09:45:29 +00:00
{% for _, scriptPath := range cfg.CommonScripts %}
<script src="{%s scriptPath %}"></script>
{% endfor %}
2021-06-29 10:34:36 +00:00
{% endfunc %}