Permalink
Browse files

Improved types/subtypes output

  • Loading branch information...
1 parent 4e43596 commit f047c3989f149abdb5eb04f91ef38898c06d3b1a @peterjwest committed May 29, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 views/index.jade
View
@@ -11,6 +11,9 @@ if cards
img(src=router.image(card.gathererId())).image
.text
h3.name: a(href=router.card(card.gathererId()))= card.name
- h4= card.typeNames(categories.id.types) + " - " + card.subtypeNames(categories.id.subtypes)
+ h4
+ span.types= card.typeNames(categories.id.types)
+ if card.subtypes.length > 0
+ span.subtypes= " - "+card.subtypeNames(categories.id.subtypes)
each rule in card.rules
p.rule= rule

0 comments on commit f047c39

Please sign in to comment.