Make cards and ArchSpirit in prebuilt deck editor link to their card page
Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -113,7 +113,8 @@ else
|
||||
@if (_deck.ArchSpiritCardDefinitionId.HasValue)
|
||||
{
|
||||
<div class="d-flex align-items-center gap-2 mb-2">
|
||||
<span class="badge bg-primary">@_deck.ArchSpiritName</span>
|
||||
<a href="/cards/@_deck.ArchSpiritCardDefinitionId" target="_blank"
|
||||
class="badge bg-primary text-decoration-none">@_deck.ArchSpiritName</a>
|
||||
<button class="btn btn-sm btn-outline-danger"
|
||||
@onclick="() => { _deck.ArchSpiritCardDefinitionId = null; _deck.ArchSpiritName = null; }">
|
||||
<i class="bi bi-x"></i> Remove
|
||||
@@ -187,7 +188,10 @@ else
|
||||
{
|
||||
var e = entry;
|
||||
<tr>
|
||||
<td>@e.CardName</td>
|
||||
<td>
|
||||
<a href="/cards/@e.CardDefinitionId" target="_blank"
|
||||
class="text-decoration-none">@e.CardName</a>
|
||||
</td>
|
||||
<td>
|
||||
<input @bind="e.Quantity" type="number" min="1" max="4"
|
||||
class="form-control form-control-sm" />
|
||||
|
||||
Reference in New Issue
Block a user