refactor(ui): merge showcase settings into settings page tab, fix profile showcase GET route, fix layout
This commit is contained in:
@@ -51,8 +51,7 @@
|
||||
<div class="profile-card-footer">
|
||||
<span class="profile-card-date">创建于 {{ p.created_at.strftime('%Y-%m-%d') }}</span>
|
||||
<div class="profile-card-actions">
|
||||
<a href="/profiles/{{ p.id }}/postcards" class="btn btn-primary btn-sm">查看明信片</a>
|
||||
<a href="/profiles/{{ p.id }}/showcase" class="btn btn-sm">展示管理</a>
|
||||
<a href="/profiles/{{ p.id }}/postcards" class="btn btn-primary btn-sm">查看</a>
|
||||
<form method="post" action="/profiles/{{ p.id }}/delete" class="inline">
|
||||
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('确定删除「{{ p.nickname }}」及其所有明信片?')">删除</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user