1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 19:56:16 +00:00
mycorrhiza/templates/common.qtpl
2021-02-20 21:14:33 +05:00

20 lines
580 B
Plaintext

{% import "net/http" %}
{% import "github.com/bouncepaw/mycorrhiza/user" %}
{% import "github.com/bouncepaw/mycorrhiza/views" %}
{% func navHTML(rq *http.Request, hyphaName, navType string, revisionHash ...string) %}
{%s= views.NavHTML(rq, hyphaName, navType, revisionHash...) %}
{% endfunc %}
{% func userMenuHTML(u *user.User) %}
{%s= views.UserMenuHTML(u) %}
{% endfunc %}
{% func relativeHyphae(relatives string) %}
{%s= views.RelativeHyphaeHTML(relatives) %}
{% endfunc %}
{% func subhyphaeMatrix(subhyphae string) %}
{%s= views.SubhyphaeHTML(subhyphae) %}
{% endfunc %}