2014-01-15 07:23:44 -05:00
<article id="item- {{ entry .id }} ">
2014-01-13 16:15:28 -05:00
<h2><a href=" {{ path ( 'view_entry' , { 'id' : entry .id } ) }} "> {{ entry .title }} </a></h2>
2014-01-15 07:23:44 -05:00
<p class="preview"> {{ entry .content | striptags | slice ( 0 , 3 0 0 ) }} …</p>
<ul class="tools">
2014-01-13 16:15:28 -05:00
<li> {% if entry .status == "read" %} <a href=" {{ path ( 'mark_entry_unread' , { 'id' : entry .id } ) }} "> {{ 'mark as unread' | trans }} </a> {% else %} <a href=" {{ path ( 'mark_entry_read' , { 'id' : entry .id } ) }} "> {{ 'mark as read' | trans }} </a> {% endif %} </li>
<li><a href="#"> {% if entry .bookmark == 1 %} <a href=" {{ path ( 'unstar_entry' , { 'id' : entry .id } ) }} "> {{ 'unstar' | trans }} </a> {% else %} <a href=" {{ path ( 'star_entry' , { 'id' : entry .id } ) }} "> {{ 'star' | trans }} </a> {% endif %} </a></li>
2014-01-14 09:22:38 -05:00
<li><a href=" {{ path ( 'remove_entry' , { 'id' : entry .id } ) }} "> {{ 'delete' | trans }} </a></li>
2014-01-15 07:23:44 -05:00
<li><a href=" {{ entry .url }} " class="external" title=" {{ 'view original' | trans }} "> {{ entry .url | getDomain }} </a></li>
2014-01-13 16:15:28 -05:00
</ul>
2014-01-15 07:23:44 -05:00
</article>