Skip to content
Snippets Groups Projects
Commit cbe83758dbfd authored by sylvain thenault's avatar sylvain thenault
Browse files

update entity types

parent a4c2580dc69c
No related branches found
No related tags found
No related merge requests found
class comments(RelationDefinition):
subject = 'Comment'
object = ('EUser', 'BlogEntry')
object = ('CWUser', 'BlogEntry')
cardinality='1*'
composite='object'
......@@ -45,7 +45,7 @@
# display text, author and creation date
self.w(u'<div class="comment">')
self.w(u'<div class="commentInfo">')
# do not try to display creator when you're not allowed to see EUsers
# do not try to display creator when you're not allowed to see CWUsers
if entity.creator:
authorlink = entity.creator.view('oneline')
self.w(u'%s %s\n' % (self.req._('written by'), authorlink))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment