{%- for item in result %}
  • {%- if item['author'] %} {%- endif %}
    {%- if resource_type!='review' %}
    {{item['title']}}
    {%- endif %}
    {{item['content']}}
    {% if (session['connected'] or False) %} {{_('by %(author)s on %(date)s', author=item['author'][0]['name'], date=item['mtime']|timedelta)}} {% else %} {{_('by %(author)s on %(date)s', author=sugar_nick, date=item['mtime']|timedelta)}} {% endif %} {%- for tag in item['tags'] %} {{tag}} {%- endfor %}
    {%- if resource_type!='review' %}
    {{_('followers')}}
    {{_('comments')}}
    {{_('solutions')}}
    {%- endif %}
  • {%- endfor %}