]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs: Move diff template
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Jul 2023 10:10:05 +0000 (10:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Jul 2023 10:10:05 +0000 (10:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/docs/diff.html [moved from src/templates/wiki/diff.html with 100% similarity]
src/web/docs.py

index 9502a1921460d5bc213c619573d01644a0c5d387..539cb70a94299f0c640e33b3313c7638d1b48024 100644 (file)
@@ -200,6 +200,7 @@ templates_donate_messagesdir = $(templates_donatedir)/messages
 templates_docs_DATA = \
        src/templates/docs/base.html \
        src/templates/docs/confirm-restore.html \
+       src/templates/docs/diff.html \
        src/templates/docs/page.html \
        src/templates/docs/revisions.html
 
@@ -337,7 +338,6 @@ templates_voip_modulesdir = $(templates_voipdir)/modules
 templates_wiki_DATA = \
        src/templates/wiki/404.html \
        src/templates/wiki/confirm-delete.html \
-       src/templates/wiki/diff.html \
        src/templates/wiki/edit.html \
        src/templates/wiki/recent-changes.html \
        src/templates/wiki/search-results.html \
index 626c5ad4e8930f17171f038bba3f65494ce261ed..1f60d13f6373ba59a0791a86312679d468829625 100644 (file)
@@ -55,7 +55,7 @@ class PageHandler(base.BaseHandler):
                        if a > b:
                                a, b = b, a
 
-                       self.render("wiki/diff.html", page=page, a=a, b=b)
+                       self.render("docs/diff.html", page=page, a=a, b=b)
                        return
 
                # Restore