Skip to content

Commit

Permalink
Unblock goldfishing with unique cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajordat committed Nov 15, 2024
1 parent 4aa306d commit 6098e99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion alteredbuilder/decks/templates/decks/deck_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,15 @@ <h1 id="deckName">{{ deck.name }}</h1>
<div class="col-12 col-xl-auto d-flex justify-content-end mb-3">
<!-- Goldfishing access -->
{% if stats.rarity_distribution.unique %}
<div class="ms-2" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="{% translate 'This feature cannot be used with unique cards' %}">
{% comment %} <div class="ms-2" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="{% translate 'This feature cannot be used with unique cards' %}">
<button type="button" class="btn altered-style btn-sm" disabled>
<i class="fa-solid fa-gamepad"></i> <span class="d-none d-md-inline">{% translate "Playtest!" %}</span> <i class="fa-solid fa-arrow-up-right-from-square"></i>
</button>
</div> {% endcomment %}
<div class="ms-2" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="{% translate 'Try it in Exalts Table without unique cards' %}">
<a type="button" class="btn altered-style btn-sm" href="https://exalts-table.com/deck-test/link/?decklist={{ decklist|urlencode }}" target="_blank">
<i class="fa-solid fa-gamepad"></i> <span class="d-none d-md-inline">{% translate "Playtest!" %}</span> <i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
{% else %}
<div class="ms-2" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="{% translate 'Try it in Exalts Table' %}">
Expand Down

0 comments on commit 6098e99

Please sign in to comment.