lib.itmens/journal/templates/piece_delete.html
Your Name 463601660f i18n
2024-05-22 19:44:59 -04:00

39 lines
1.2 KiB
HTML

{% load static %}
{% load i18n %}
{% load mastodon %}
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site_name }} - {% trans 'Delete' %}</title>
{% include "common_libs.html" %}
</head>
<body>
{% include "_header.html" %}
<main class="container">
<article>
<header>
<h5>{% trans 'Are you sure to delete?' %}</h5>
</header>
<div>
<h6>{{ piece.title }}</h6>
{% if piece.visibility > 0 %}<i class="fa-solid fa-lock"></i>{% endif %}
<a href="{{ piece.owner.url }}">{{ piece.owner.display_name }}</a>
{{ piece.edited_time }}
</div>
<footer>
<form action="?return_url={{ return_url }}" method="post" role="group">
{% csrf_token %}
<input type="submit" value="{% trans 'Yes' %}">
<input type="reset"
onclick="history.back()"
class="secondary"
value="{% trans 'No' %}">
</form>
</footer>
</article>
</main>
{% include "_footer.html" %}
</body>
</html>