Attachment of `)
//line views/readers.qtpl:17
qw422016.E().S(util.BeautifulName(h.Name))
//line views/readers.qtpl:17
qw422016.N().S(`
`)
//line views/readers.qtpl:18
if h.BinaryPath == "" {
//line views/readers.qtpl:18
qw422016.N().S(`
This hypha has no attachment, you can upload it here. What are attachments?
`)
//line views/readers.qtpl:20
} else {
//line views/readers.qtpl:20
qw422016.N().S(`
You can manage the hypha's attachment on this page. What are attachments?
`)
//line views/readers.qtpl:22
}
//line views/readers.qtpl:22
qw422016.N().S(`
`)
//line views/readers.qtpl:26
if h.BinaryPath != "" {
//line views/readers.qtpl:26
qw422016.N().S(`
`)
//line views/readers.qtpl:28
mime := mimetype.FromExtension(path.Ext(h.BinaryPath))
fileinfo, err := os.Stat(h.BinaryPath)
//line views/readers.qtpl:29
qw422016.N().S(`
`)
//line views/readers.qtpl:30
if err == nil {
//line views/readers.qtpl:30
qw422016.N().S(`
`)
//line views/readers.qtpl:36
}
//line views/readers.qtpl:36
qw422016.N().S(`
`)
//line views/readers.qtpl:38
if strings.HasPrefix(mime, "image/") {
//line views/readers.qtpl:38
qw422016.N().S(`
`)
//line views/readers.qtpl:44
}
//line views/readers.qtpl:44
qw422016.N().S(`
`)
//line views/readers.qtpl:45
}
//line views/readers.qtpl:45
qw422016.N().S(`
`)
//line views/readers.qtpl:47
if u.CanProceed("upload-binary") {
//line views/readers.qtpl:47
qw422016.N().S(`
`)
//line views/readers.qtpl:60
}
//line views/readers.qtpl:60
qw422016.N().S(`
`)
//line views/readers.qtpl:62
if h.BinaryPath != "" && u.CanProceed("unattach-confirm") {
//line views/readers.qtpl:62
qw422016.N().S(`
`)
//line views/readers.qtpl:70
}
//line views/readers.qtpl:70
qw422016.N().S(`