X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=meta%2Ftemplates%2Findex.html;h=af2c7202351a4d6c2efe5e3efbe3bb6026f9bcff;hp=c307f261fcb53b8493dc6b5d08a500e684b33ae8;hb=b22f94f9d031267ade375130126d7c32cdf3368c;hpb=247faccd70eea33b856c3aac471be3d411b8be80 diff --git a/meta/templates/index.html b/meta/templates/index.html index c307f26..af2c720 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,11 +9,11 @@

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,14 +80,16 @@ {% 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 %}
- + + +