From 47c6aa0deb40b37400e93f13eeac716b86546317 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 22 Sep 2010 23:48:16 -0400 Subject: [PATCH] Don't display {X0} for {X} mana costs --- templates/cards/manacost.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/cards/manacost.html b/templates/cards/manacost.html index ac12f6d..2707579 100644 --- a/templates/cards/manacost.html +++ b/templates/cards/manacost.html @@ -6,7 +6,9 @@ {% if cost.y %}Y{% endif %} {% if cost.z %}Z{% endif %} {% if cost.any > 0 or cost.converted == 0 %} - {{ cost.any }} + {% if not cost.x and not cost.y and not cost.z %} + {{ cost.any }} + {% endif %} {% endif %} {% for i in cost.snow|get_range %} {# use the unicode snowflake symbol #}