diff libervia/pages/forums/topics/page_meta.py @ 1425:bcd6ad99b2b0

pages (forums/topics): add url to new topic creation page
author Goffi <goffi@goffi.org>
date Sat, 01 May 2021 19:05:16 +0200
parents 6dfcdbeb0d33
children eaf36fffcbdb
line wrap: on
line diff
--- a/libervia/pages/forums/topics/page_meta.py	Sat May 01 19:05:16 2021 +0200
+++ b/libervia/pages/forums/topics/page_meta.py	Sat May 01 19:05:16 2021 +0200
@@ -46,6 +46,7 @@
             identities[topic["author"]] = data_format.deserialise(id_raw)
 
     template_data["topics"] = topics
+    template_data["url_topic_new"] = self.getSubPageURL(request, "forum_topic_new")
 
 
 @defer.inlineCallbacks