JSON: add link_author to out-of-context comments

This commit is contained in:
Chad Birch
2013-10-28 12:18:34 -06:00
parent e1bb2f702d
commit f9336c9f42

View File

@@ -522,6 +522,7 @@ class CommentJsonTemplate(ThingJsonTemplate):
d = ThingJsonTemplate.raw_data(self, thing)
if c.profilepage:
d['link_title'] = thing.link.title
d['link_author'] = thing.link_author.name
return d
def rendered_data(self, wrapped):