diff --git a/views/readers.qtpl b/views/readers.qtpl index 0ce2968..25a12ee 100644 --- a/views/readers.qtpl +++ b/views/readers.qtpl @@ -137,9 +137,6 @@ If you rename .prevnext, change the docs too. {% endfunc %} {% func RevisionHTML(rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string) %} -{% code - siblings, subhyphae, _, _ := tree.Tree(h.CanonicalName()) -%}
@@ -147,9 +144,7 @@ If you rename .prevnext, change the docs too. {%s= NaviTitleHTML(h) %} {%s= contents %}
-{%= SubhyphaeHTML(subhyphae, lc) %}
-{%= siblingHyphaeHTML(siblings, lc) %}
{%= viewScripts() %} {% endfunc %} diff --git a/views/readers.qtpl.go b/views/readers.qtpl.go index fcc02ad..87b26cf 100644 --- a/views/readers.qtpl.go +++ b/views/readers.qtpl.go @@ -512,135 +512,119 @@ func HyphaHTML(rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents st func StreamRevisionHTML(qw422016 *qt422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string) { //line views/readers.qtpl:139 qw422016.N().S(` -`) -//line views/readers.qtpl:141 - siblings, subhyphae, _, _ := tree.Tree(h.CanonicalName()) - -//line views/readers.qtpl:142 - qw422016.N().S(`

`) -//line views/readers.qtpl:146 +//line views/readers.qtpl:143 qw422016.E().S(lc.Get("ui.revision_warning")) -//line views/readers.qtpl:146 +//line views/readers.qtpl:143 qw422016.N().S(` `) -//line views/readers.qtpl:146 +//line views/readers.qtpl:143 qw422016.E().S(lc.Get("ui.revision_link")) -//line views/readers.qtpl:146 +//line views/readers.qtpl:143 qw422016.N().S(`

`) -//line views/readers.qtpl:147 +//line views/readers.qtpl:144 qw422016.N().S(NaviTitleHTML(h)) -//line views/readers.qtpl:147 +//line views/readers.qtpl:144 qw422016.N().S(` `) -//line views/readers.qtpl:148 +//line views/readers.qtpl:145 qw422016.N().S(contents) -//line views/readers.qtpl:148 +//line views/readers.qtpl:145 qw422016.N().S(`
-`) -//line views/readers.qtpl:150 - StreamSubhyphaeHTML(qw422016, subhyphae, lc) -//line views/readers.qtpl:150 - qw422016.N().S(`
-`) -//line views/readers.qtpl:152 - streamsiblingHyphaeHTML(qw422016, siblings, lc) -//line views/readers.qtpl:152 - qw422016.N().S(`
`) -//line views/readers.qtpl:154 +//line views/readers.qtpl:149 streamviewScripts(qw422016) -//line views/readers.qtpl:154 +//line views/readers.qtpl:149 qw422016.N().S(` `) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 } -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 func WriteRevisionHTML(qq422016 qtio422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string) { -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 qw422016 := qt422016.AcquireWriter(qq422016) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 StreamRevisionHTML(qw422016, rq, lc, h, contents, revHash) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 qt422016.ReleaseWriter(qw422016) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 } -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 func RevisionHTML(rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string) string { -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 qb422016 := qt422016.AcquireByteBuffer() -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 WriteRevisionHTML(qb422016, rq, lc, h, contents, revHash) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 qs422016 := string(qb422016.B) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 qt422016.ReleaseByteBuffer(qb422016) -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 return qs422016 -//line views/readers.qtpl:155 +//line views/readers.qtpl:150 } -//line views/readers.qtpl:157 +//line views/readers.qtpl:152 func streamviewScripts(qw422016 *qt422016.Writer) { -//line views/readers.qtpl:157 +//line views/readers.qtpl:152 qw422016.N().S(` `) -//line views/readers.qtpl:158 +//line views/readers.qtpl:153 for _, scriptPath := range cfg.ViewScripts { -//line views/readers.qtpl:158 +//line views/readers.qtpl:153 qw422016.N().S(` `) -//line views/readers.qtpl:160 +//line views/readers.qtpl:155 } -//line views/readers.qtpl:160 +//line views/readers.qtpl:155 qw422016.N().S(` `) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 } -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 func writeviewScripts(qq422016 qtio422016.Writer) { -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 qw422016 := qt422016.AcquireWriter(qq422016) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 streamviewScripts(qw422016) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 qt422016.ReleaseWriter(qw422016) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 } -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 func viewScripts() string { -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 qb422016 := qt422016.AcquireByteBuffer() -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 writeviewScripts(qb422016) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 qs422016 := string(qb422016.B) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 qt422016.ReleaseByteBuffer(qb422016) -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 return qs422016 -//line views/readers.qtpl:161 +//line views/readers.qtpl:156 }