fix(ui): shorten mark-delivered button text to 已送达
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<a href="/postcards/{{ postcard.id }}/edit" class="btn">编辑</a>
|
<a href="/postcards/{{ postcard.id }}/edit" class="btn">编辑</a>
|
||||||
{% if postcard.status == 'sent' %}
|
{% if postcard.status == 'sent' %}
|
||||||
<form method="post" action="/postcards/{{ postcard.id }}/mark-delivered" class="inline">
|
<form method="post" action="/postcards/{{ postcard.id }}/mark-delivered" class="inline">
|
||||||
<button type="submit" class="btn btn-primary" onclick="return confirm('确认已送达?')">标记已送达</button>
|
<button type="submit" class="btn btn-primary" onclick="return confirm('确认已送达?')">已送达</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="post" action="/postcards/{{ postcard.id }}/delete" class="inline">
|
<form method="post" action="/postcards/{{ postcard.id }}/delete" class="inline">
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<div class="postcard-row-action">
|
<div class="postcard-row-action">
|
||||||
{% if pc.status == 'sent' %}
|
{% if pc.status == 'sent' %}
|
||||||
<form method="post" action="/postcards/{{ pc.id }}/mark-delivered" onclick="event.preventDefault();event.stopPropagation();if(confirm('确认已送达?'))this.submit();">
|
<form method="post" action="/postcards/{{ pc.id }}/mark-delivered" onclick="event.preventDefault();event.stopPropagation();if(confirm('确认已送达?'))this.submit();">
|
||||||
<button type="submit" class="btn btn-sm btn-primary">✓ 标记已送达</button>
|
<button type="submit" class="btn btn-sm btn-primary">已送达</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user