Skip to content

Commit

Permalink
update extra and set icon on shop ui
Browse files Browse the repository at this point in the history
  • Loading branch information
nicol committed Oct 31, 2024
1 parent a6fb508 commit d36ce49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/org/magic/api/beans/enums/EnumExtra.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public enum EnumExtra implements MTGEnumeration{
BOXTOPPER("box-topper"),
BRAWL("brawl"),
COLLECTOR ("collector"),
COLLECTOR_SAMPLE("collector-sample"),
DRAFT("draft"),
GIFT ("gift-bundle-promo"),
FATPACK ("fat-pack"),
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/web/shop-ui/dist/js/js-var.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function generateStockCardHTML(data,currency, tosell, percentReduction)
append+="<h5 class='card-title'><a href='product.html?id="+data.id+"&product="+type+"' title='View Product'>"+data.product.name +"</a></h5>";

append+="<p class='card-text'>";
append+="<i class='ss ss-2x ss-"+data.edition.id.toLowerCase()+"'></i>";
append+="<i class='ss ss-2x ss-"+data.edition.keyRuneCode.toLowerCase()+"'></i>";
append+= data.condition + " " + (data.foil?"<i class='fas fa-star fa-1x'/>":"") ;

append+="</p>";
Expand Down

0 comments on commit d36ce49

Please sign in to comment.