feat(ui): add mark-delivered button on sent postcards with auto today date

This commit is contained in:
earthjasonlin committed 2026-07-05 21:45:32 +08:00
1 parent 7a62ff0818
commit 5607485c6a
3 files changed
+31

No files matched your search

+5
View File
@@ -34,6 +34,11 @@
{% else %}
<span>← {{ pc.sender_name or '-' }}</span>
{% endif %}
{% if pc.status == 'sent' %}
<form method="post" action="/postcards/{{ pc.id }}/mark-delivered" class="inline" onclick="event.stopPropagation();">
<button type="submit" class="btn btn-sm btn-primary" onclick="return confirm('确认已送达?')">✓ 标记已送达</button>
</form>
{% endif %}
</div>
</a>
{% endfor %}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.