equal
deleted
inserted
replaced
355 from cubicweb.entities import AnyEntity |
355 from cubicweb.entities import AnyEntity |
356 |
356 |
357 class BlogEntry(AnyEntity): |
357 class BlogEntry(AnyEntity): |
358 """customized class for BlogEntry entities""" |
358 """customized class for BlogEntry entities""" |
359 __regid__ = 'BlogEntry' |
359 __regid__ = 'BlogEntry' |
360 __implements__ = AnyEntity.__implements__ |
|
361 |
360 |
362 def display_cw_logo(self): |
361 def display_cw_logo(self): |
363 if 'CW' in self.title: |
362 if 'CW' in self.title: |
364 return True |
363 return True |
365 else: |
364 else: |