`)
//line views/readers.qtpl:20
qw422016.N().S(lc.Get("ui.attach_title", &l18n.Replacements{"name": beautifulLink(h.CanonicalName())}))
//line views/readers.qtpl:20
qw422016.N().S(`
`)
//line views/readers.qtpl:21
switch h.(type) {
//line views/readers.qtpl:22
case *hyphae.MediaHypha:
//line views/readers.qtpl:22
qw422016.N().S(`
`)
//line views/readers.qtpl:23
qw422016.E().S(lc.Get("ui.attach_tip"))
//line views/readers.qtpl:23
qw422016.N().S(` `)
//line views/readers.qtpl:23
qw422016.E().S(lc.Get("ui.attach_link"))
//line views/readers.qtpl:23
qw422016.N().S(`
`)
//line views/readers.qtpl:24
default:
//line views/readers.qtpl:24
qw422016.N().S(`
`)
//line views/readers.qtpl:25
qw422016.E().S(lc.Get("ui.attach_empty"))
//line views/readers.qtpl:25
qw422016.N().S(` `)
//line views/readers.qtpl:25
qw422016.E().S(lc.Get("ui.attach_link"))
//line views/readers.qtpl:25
qw422016.N().S(`
`)
//line views/readers.qtpl:26
}
//line views/readers.qtpl:26
qw422016.N().S(`
`)
//line views/readers.qtpl:29
switch h := h.(type) {
//line views/readers.qtpl:30
case *hyphae.MediaHypha:
//line views/readers.qtpl:30
qw422016.N().S(`
`)
//line views/readers.qtpl:32
mime := mimetype.FromExtension(path.Ext(h.MediaFilePath()))
fileinfo, err := os.Stat(h.MediaFilePath())
//line views/readers.qtpl:33
qw422016.N().S(`
`)
//line views/readers.qtpl:34
if err == nil {
//line views/readers.qtpl:34
qw422016.N().S(`
`)
//line views/readers.qtpl:40
}
//line views/readers.qtpl:40
qw422016.N().S(`
`)
//line views/readers.qtpl:42
if strings.HasPrefix(mime, "image/") {
//line views/readers.qtpl:42
qw422016.N().S(`
`)
//line views/readers.qtpl:48
}
//line views/readers.qtpl:48
qw422016.N().S(`
`)
//line views/readers.qtpl:49
}
//line views/readers.qtpl:49
qw422016.N().S(`
`)
//line views/readers.qtpl:51
if u.CanProceed("upload-binary") {
//line views/readers.qtpl:51
qw422016.N().S(`
`)
//line views/readers.qtpl:64
}
//line views/readers.qtpl:64
qw422016.N().S(`
`)
//line views/readers.qtpl:67
switch h := h.(type) {
//line views/readers.qtpl:68
case *hyphae.MediaHypha:
//line views/readers.qtpl:68
qw422016.N().S(`
`)
//line views/readers.qtpl:69
if u.CanProceed("unattach-confirm") {
//line views/readers.qtpl:69
qw422016.N().S(`
`)
//line views/readers.qtpl:77
}
//line views/readers.qtpl:77
qw422016.N().S(`
`)
//line views/readers.qtpl:78
}
//line views/readers.qtpl:78
qw422016.N().S(`