mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +00:00
Show primitive diffs of deleted hyphae
This commit is contained in:
parent
b7cbe04cfc
commit
448eec3d6f
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
{% func PrimitiveDiffHTML(rq *http.Request, h *hyphae.Hypha, u *user.User, hash string) %}
|
{% func PrimitiveDiffHTML(rq *http.Request, h *hyphae.Hypha, u *user.User, hash string) %}
|
||||||
{% code
|
{% code
|
||||||
text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash)
|
text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
text = err.Error()
|
text = err.Error()
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ func StreamPrimitiveDiffHTML(qw422016 *qt422016.Writer, rq *http.Request, h *hyp
|
|||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
`)
|
`)
|
||||||
//line views/history.qtpl:14
|
//line views/history.qtpl:14
|
||||||
text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash)
|
text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
text = err.Error()
|
text = err.Error()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user