Dropping history.
This commit is contained in:
parent
47360a3320
commit
2ec9baa0b1
|
@ -1,36 +0,0 @@
|
||||||
{% extends "base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
{% block title %}{% trans 'Lasts pastes' %}{% endblock %}
|
|
||||||
{% block content %}
|
|
||||||
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
|
|
||||||
<table class="table table-striped table-bordered">
|
|
||||||
<tr>
|
|
||||||
<th>#</th>
|
|
||||||
{% if PASTE.has_title %}
|
|
||||||
<th>{% trans 'Title' %}</th>
|
|
||||||
{% endif %}
|
|
||||||
<th>{% trans 'Language' %}</th>
|
|
||||||
<th>{% trans 'Size' %}</th>
|
|
||||||
<th>{% trans 'Paste time' %}</th>
|
|
||||||
<th>{% trans 'Protection' %}</th>
|
|
||||||
<th>{% trans 'Views' %}</th>
|
|
||||||
</tr>
|
|
||||||
{% for paste in pastes %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ paste.id }}</td>
|
|
||||||
{% if PASTE.has_title %}
|
|
||||||
<td class="title"><a href="{% url 'paste' slug=paste.slug %}">{{ paste.title|truncatechars:40 }}</a></td>
|
|
||||||
{% endif %}
|
|
||||||
<td>{% trans paste.language.name %}</td>
|
|
||||||
<td>{{ paste.size }}</td>
|
|
||||||
<td>{{ paste.paste_time }}</td>
|
|
||||||
<td>{{ paste.viewcount }}</td>
|
|
||||||
</tr>
|
|
||||||
{% empty %}
|
|
||||||
<tr>
|
|
||||||
<td colspan="8">{% trans 'Nothing has been pasted yet' %}.</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</table>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
Loading…
Reference in New Issue