Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(2)  |  Import(0)

src/d/j/django-sct-0.7/sphenecoll/sphene/sphboard/lists.py   django-sct(Download)
class NewPostIndicator(objlist.Column):
    def _get_value(self, object):
        # {{ STATIC_URL }}sphene/sphboard/icons/{% if thread.has_new_posts %}new{% endif %}folder.gif" width='16px' height='16px' title='Heat: {{ thread.heat }}' /></td
        return mark_safe( '<img src="%ssphene/sphboard/icons/%sfolder.gif" width="16px" height="16px" />' % (settings.STATIC_URL, object.has_new_posts() and 'new' or '' ) )
 

src/s/c/sct-communitytools-HEAD/sphenecoll/sphene/sphboard/lists.py   sct-communitytools(Download)
class NewPostIndicator(objlist.Column):
    def _get_value(self, object):
        # {{ STATIC_URL }}sphene/sphboard/icons/{% if thread.has_new_posts %}new{% endif %}folder.gif" width='16px' height='16px' title='Heat: {{ thread.heat }}' /></td
        return mark_safe( '<img src="%ssphene/sphboard/icons/%sfolder.gif" width="16px" height="16px" />' % (settings.STATIC_URL, object.has_new_posts() and 'new' or '' ) )