bookie-python/templates/text.html

32 lines
1.1 KiB
HTML
Raw Normal View History

2014-10-24 22:34:28 +00:00
{% extends "layout.html" %}
{% block title %} | {{b.title}} Text View{% endblock %}
{% block body %}
<h3>{{b.title}}</h3>
<p class="date">{{b.created_at.strftime('%Y-%m-%d')}}</p>
<p class="menu">
{% if b.unread %}
<a href="/unread/#{{b.short}}"><< Back to Unread</a> |
<a href="/{{b.short}}/u/archive?redirect={{b.short}}/text">Archive</a> |
{% else %}
<a href="/all/#{{b.short}}"><< Back to Bookmarks</a> |
<a href="/{{b.short}}/u/unread?redirect={{b.short}}/text">Mark Unread</a> |
{% endif %}
<a href="{{b.url}}">View Original</a> |
<a href="/{{b.short}}/u/text?redirect={{b.short}}/text">Update Text</a> |
<a href="/{{b.short}}/u/text_force?redirect={{b.short}}/text">Re-scrape Text</a>
</p>
<div class="text">
{{text|safe}}
</div>
<hr/>
<div class="text_versions">
<p>Other versions of this text:</p>
<ul>
{% for t in tlist %}
<li><a href="/{{b.short}}/text/{{t.created_at}}">{{t.created_at}}</a></li>
{% endfor %}
</ul>
</div>
{% endblock %}