32 lines
972 B
HTML
32 lines
972 B
HTML
{% load i18n %}
|
|
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
|
{% if PASTE.has_meta_table %}
|
|
<table class="table table-striped table-bordered">
|
|
<tr>
|
|
<th>#</th>
|
|
<th>{% trans 'Language' %}</th>
|
|
<th>{% trans 'Size' %}</th>
|
|
<th>{% trans 'Paste time' %}</th>
|
|
<th>{% trans 'Visibility' %}</th>
|
|
<th>{% trans 'Protection' %}</th>
|
|
<th>{% trans 'Views' %}</th>
|
|
<th>{% trans 'Expire time' %}</th>
|
|
</tr>
|
|
<tr>
|
|
<td>{{ paste.id }}</td>
|
|
<td>{% trans paste.language.name %}</td>
|
|
<td>{{ paste.size }}</td>
|
|
<td>{{ paste.paste_time }}</td>
|
|
<td>{{ paste.viewcount }}{% if paste.lifecount > 0 %}/{{ paste.lifecount }}{% endif %}</td>
|
|
<td>{% if paste.expiration_time %}{{ paste.expiration_time }}{% else %}{% trans 'None' %}{% endif %}</td>
|
|
</tr>
|
|
</table>
|
|
{% endif %}
|
|
<div class="row">
|
|
<div class="span9">
|
|
{% if PASTE.has_title %}
|
|
<h1>{{ paste.title|truncatechars:50 }}</h1>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|