changeset 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 69ba6b2ba949
children 4cf2b73e63aa
files libervia/pages/forums/topics/page_meta.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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