2014-01-08 04:57:21 -05:00
{% extends layout %}
2014-01-13 16:30:19 -05:00
{% block title %} {{ entry .title }} {% endblock %}
2014-01-08 04:57:21 -05:00
{% block content %}
{% if entry is empty %}
<div class="messages warning"><p> {{ 'No link available here!' | trans }} </p></div>
{% else %}
2014-01-09 09:26:53 -05:00
<h2> {{ entry .title }} </h2>
2014-01-13 16:30:19 -05:00
<ul class="entry_options">
2014-01-09 16:09:39 -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>
2014-01-14 09:22:38 -05:00
<li> {% 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 %} </li>
<li><a href=" {{ path ( 'remove_entry' , { 'id' : entry .id } ) }} "> {{ 'delete' | trans }} </a></li>
2014-01-09 09:26:53 -05:00
<li><a href=" {{ entry .url }} "> {{ 'view original' | trans }} </a></li>
</ul>
2014-01-08 04:57:21 -05:00
2014-01-09 14:30:59 -05:00
<article> {{ entry .content | raw }} </article>
2014-01-08 04:57:21 -05:00
{% endif %}
{% endblock %}