Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
1424:69ba6b2ba949 | 1425:bcd6ad99b2b0 |
---|---|
44 "identityGet", author, [], True, profile | 44 "identityGet", author, [], True, profile |
45 ) | 45 ) |
46 identities[topic["author"]] = data_format.deserialise(id_raw) | 46 identities[topic["author"]] = data_format.deserialise(id_raw) |
47 | 47 |
48 template_data["topics"] = topics | 48 template_data["topics"] = topics |
49 template_data["url_topic_new"] = self.getSubPageURL(request, "forum_topic_new") | |
49 | 50 |
50 | 51 |
51 @defer.inlineCallbacks | 52 @defer.inlineCallbacks |
52 def on_data_post(self, request): | 53 def on_data_post(self, request): |
53 profile = self.getProfile(request) | 54 profile = self.getProfile(request) |