Attachment of {%s= beautifulLink(h.Name) %}
{% if h.BinaryPath == "" %}This hypha has no attachment, you can upload it here. What are attachments?
{% else %}You can manage the hypha's attachment on this page. What are attachments?
{% endif %}{% import "net/http" %} {% import "strings" %} {% import "path" %} {% import "os" %} {% import "github.com/bouncepaw/mycorrhiza/cfg" %} {% import "github.com/bouncepaw/mycorrhiza/hyphae" %} {% import "github.com/bouncepaw/mycorrhiza/mimetype" %} {% import "github.com/bouncepaw/mycorrhiza/tree" %} {% import "github.com/bouncepaw/mycorrhiza/user" %} {% import "github.com/bouncepaw/mycorrhiza/util" %} {% func AttachmentMenuHTML(rq *http.Request, h *hyphae.Hypha, u *user.User) %}
This hypha has no attachment, you can upload it here. What are attachments?
{% else %}You can manage the hypha's attachment on this page. What are attachments?
{% endif %}Please note that viewing attachments of hyphae is not supported in history for now. Get Mycomarkup source of this revision
{%s= NaviTitleHTML(h) %} {%s= contents %}