feat(ui): move detail page badge next to card number title
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<div class="detail-title-row">
|
||||
<a href="/profiles/{{ postcard.profile_id }}/postcards" class="btn btn-back">←</a>
|
||||
<h1>{{ postcard.card_number }}</h1>
|
||||
<span class="badge badge-{{ postcard.status }}">{{ {'sent':'已寄出','delivered':'已送达','received':'已收到'}.get(postcard.status, postcard.status) }}</span>
|
||||
</div>
|
||||
<div class="detail-actions">
|
||||
<a href="/postcards/{{ postcard.id }}/edit" class="btn">编辑</a>
|
||||
@@ -18,7 +19,6 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<span class="badge badge-{{ postcard.status }}">{{ {'sent':'已寄出','delivered':'已送达','received':'已收到'}.get(postcard.status, postcard.status) }}</span>
|
||||
<div class="detail-grid">
|
||||
<div class="detail-images">
|
||||
<div class="image-block">
|
||||
|
||||
Reference in New Issue
Block a user