{%- if current_user.is_authenticated() and item.user_id == current_user.id%} {% set owner = 'true' %} {% endif -%}
{{item.votes|length}} | From {% cache 60*60*24, 'user', item.user.name -%}{{item.user.name}}{% endcache %} {{item.timestamp|time_ago}} | {{item.get_children()|length}} comments {%- if owner and not edit %} | Edit {% endif -%}