X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=meta%2Ftemplates%2Findex.html;h=0d97cf37a359c54b75d82d0912d4e232e5b74224;hp=c307f261fcb53b8493dc6b5d08a500e684b33ae8;hb=a84452cbd116e8c1153d6e18b2c0a59345f276b7;hpb=247faccd70eea33b856c3aac471be3d411b8be80 diff --git a/meta/templates/index.html b/meta/templates/index.html index c307f26..0d97cf3 100644 --- a/meta/templates/index.html +++ b/meta/templates/index.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load meta_extras %} +{% load url from future %} {% block jumbotron %}
@@ -8,7 +9,7 @@

Curious how decks like yours have performed in tournaments?
Paste your ponyhead.com URL here and find out!

-

+ {% csrf_token %}
@@ -62,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 %} @@ -79,10 +80,10 @@ {% block jumbotron_end %}
-

Is your deck not in the list?

+

Not on the list?

Paste your ponyhead.com URL here and help make this site better!

- + {% csrf_token %}