X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=meta%2Ftemplates%2Findex.html;h=af2c7202351a4d6c2efe5e3efbe3bb6026f9bcff;hp=e4f9e6f72f3ac1d6be0e57c25bfa9b3f148c9866;hb=b22f94f9d031267ade375130126d7c32cdf3368c;hpb=22a94820738824527277e21f2f37bc77638e12bc diff --git a/meta/templates/index.html b/meta/templates/index.html index e4f9e6f..af2c720 100644 --- a/meta/templates/index.html +++ b/meta/templates/index.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load meta_extras %} +{% load url from future %} {% block jumbotron %}
Curious how decks like yours have performed in tournaments?
Paste your ponyhead.com URL here and find out!
-
@@ -27,19 +29,19 @@Very fuzzy data, based on past tournaments. The more the deck was played in tournaments, the more accurate this is.
Archetype ID | +Average placement | Example decks | |
---|---|---|---|
{{ label }} | +{{ avg|ordinal }} |
|
@@ -61,10 +63,10 @@
{% for t in tournaments %}
|
{{ t.tournament.date }} | -{{ t.tournament.name }} | +{{ t.tournament.name }} |
- {% for d in t.decklists|slice:":8" %}
- {{ d.name }} ({{ d.description }}) + {% for placement, d in t.decklists|slice:":8" %} + {{ placement|ordinal }} {{ d.name }} ({{ d.description }}) {% endfor %} |