Dropping history.

This commit is contained in:
Julien Palard 2023-04-21 09:34:04 +02:00
parent 47360a3320
commit 2ec9baa0b1
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 0 additions and 36 deletions

View File

@ -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 %}