feat(ui): add back button left of card number on detail page

This commit is contained in:
2026-07-05 23:11:05 +08:00
parent 41aa2058bc
commit 71a029057a
2 changed files with 7 additions and 1 deletions

View File

@@ -2,7 +2,10 @@
{% block title %}明信片详情 - 明信片管理器{% endblock %}
{% block content %}
<div class="section-header">
<h1>{{ postcard.card_number }}</h1>
<div class="detail-title-row">
<a href="/profiles/{{ postcard.profile_id }}/postcards" class="btn btn-back"></a>
<h1>{{ postcard.card_number }}</h1>
</div>
<div>
<a href="/postcards/{{ postcard.id }}/edit" class="btn">编辑</a>
{% if postcard.status == 'sent' %}