{% import "strings" %} {% import "github.com/bouncepaw/mycorrhiza/cfg" %} {% import "github.com/bouncepaw/mycorrhiza/backlinks" %} {% import "github.com/bouncepaw/mycorrhiza/l18n" %} {% import "github.com/bouncepaw/mycorrhiza/user" %} {% import "github.com/bouncepaw/mycorrhiza/hyphae" %} {% import "github.com/bouncepaw/mycorrhiza/viewutil" %} {% func hyphaInfoEntry(h hyphae.Hypha, u *user.User, action, displayText string) %} {% if u.CanProceed(action) %}
  • {%s displayText %}
  • {% endif %} {% endfunc %} {% func hyphaInfo(meta viewutil.Meta, h hyphae.Hypha) %} {% code u := meta.U lc := meta.Lc backs := backlinks.BacklinksCount(h) %} {% endfunc %} {% func siblingHyphae(siblings string, lc *l18n.Localizer) %} {% if cfg.UseSiblingHyphaeSidebar %} {% endif %} {% endfunc %} {% func Subhyphae(subhyphae string, lc *l18n.Localizer) %} {% if strings.TrimSpace(subhyphae) != "" %}

    {%s lc.Get("ui.subhyphae") %}

    {% endif %} {% endfunc %}