Attachment of `)
//line views/readers.qtpl:16
qw422016.E().S(util.BeautifulName(h.Name))
//line views/readers.qtpl:16
qw422016.N().S(`
`)
//line views/readers.qtpl:17
if h.BinaryPath == "" {
//line views/readers.qtpl:17
qw422016.N().S(`
This hypha has no attachment, you can upload it here. What are attachments?
`)
//line views/readers.qtpl:19
} else {
//line views/readers.qtpl:19
qw422016.N().S(`
You can manage the hypha's attachment on this page. What are attachments?
`)
//line views/readers.qtpl:21
}
//line views/readers.qtpl:21
qw422016.N().S(`
`)
//line views/readers.qtpl:25
if h.BinaryPath != "" {
//line views/readers.qtpl:25
qw422016.N().S(`
`)
//line views/readers.qtpl:27
mime := mimetype.FromExtension(path.Ext(h.BinaryPath))
fileinfo, err := os.Stat(h.BinaryPath)
//line views/readers.qtpl:28
qw422016.N().S(`
`)
//line views/readers.qtpl:29
if err == nil {
//line views/readers.qtpl:29
qw422016.N().S(`
`)
//line views/readers.qtpl:35
}
//line views/readers.qtpl:35
qw422016.N().S(`
`)
//line views/readers.qtpl:37
if strings.HasPrefix(mime, "image/") {
//line views/readers.qtpl:37
qw422016.N().S(`
`)
//line views/readers.qtpl:43
}
//line views/readers.qtpl:43
qw422016.N().S(`
`)
//line views/readers.qtpl:44
}
//line views/readers.qtpl:44
qw422016.N().S(`
`)
//line views/readers.qtpl:46
if u.CanProceed("upload-binary") {
//line views/readers.qtpl:46
qw422016.N().S(`
`)
//line views/readers.qtpl:59
}
//line views/readers.qtpl:59
qw422016.N().S(`
`)
//line views/readers.qtpl:61
if h.BinaryPath != "" && u.CanProceed("unattach-confirm") {
//line views/readers.qtpl:61
qw422016.N().S(`
`)
//line views/readers.qtpl:69
}
//line views/readers.qtpl:69
qw422016.N().S(`