1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00
vichan/templates/mod/pm.html

42 lines
980 B
HTML
Raw Normal View History

2012-04-16 08:40:24 +02:00
<form action="" method="post">
<table>
<tr>
2012-05-05 17:33:10 +02:00
<th>{% trans 'From' %}</th>
2012-04-16 08:40:24 +02:00
{% if username %}
<td><a href="?/new_PM/{{ username|e }}">{{ username|e }}</a></td>
{% else %}
2012-05-05 17:33:10 +02:00
<td><em>{% trans 'deleted?' %}</em></td>
2012-04-16 08:40:24 +02:00
{% endif %}
</tr>
{% if to != mod.id %}
<tr>
<th>To</th>
{% if to_username %}
<td><a href="?/new_PM/{{ to_username|e }}">{{ to_username|e }}</a></td>
{% else %}
2012-05-05 17:33:10 +02:00
<td><em>{% trans 'deleted?' %}</em></td>
2012-04-16 08:40:24 +02:00
{% endif %}
</tr>
{% endif %}
<tr>
2012-05-05 17:33:10 +02:00
<th>{% trans 'Date' %}</th>
2012-04-16 08:40:24 +02:00
<td>{{ time|date(config.post_date) }}</td>
</tr>
<tr>
2012-05-05 17:33:10 +02:00
<th>{% trans 'Message' %}</th>
2012-04-16 08:40:24 +02:00
<td>{{ message }}</td>
</tr>
</table>
<ul style="list-style:none;text-align:center;padding:0">
<li style="padding:5px 0">
2012-05-05 17:33:10 +02:00
<input type="submit" name="delete" value="{% trans 'Delete forever' %}">
2012-04-16 08:40:24 +02:00
</li>
<li style="padding:5px 0">
<a href="?/PM/{{ id }}/reply">
2012-05-05 17:33:10 +02:00
{% trans 'Reply with quote' %}
2012-04-16 08:40:24 +02:00
</a>
</li>
</ul>
</form>