From defc79796357b15b59b2e5e91487a80c6ed27380 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 10 Mar 2012 07:23:52 +0530 Subject: [PATCH] performanced order; sponsors logo size --- itf/festival/models.py | 4 ++++ itf/templates/modules/festival/meeting.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/itf/festival/models.py b/itf/festival/models.py index bc1aab5..3f8faf4 100755 --- a/itf/festival/models.py +++ b/itf/festival/models.py @@ -171,6 +171,10 @@ class MeetingPerformance(models.Model): time = models.TimeField(null=True, blank=True) meeting_day = models.ForeignKey("MeetingDay") + + class Meta: + ordering = ['meeting_day__date', 'time'] + def get_dict(self): return { 'title': self.title, diff --git a/itf/templates/modules/festival/meeting.html b/itf/templates/modules/festival/meeting.html index 018459d..79694cd 100755 --- a/itf/templates/modules/festival/meeting.html +++ b/itf/templates/modules/festival/meeting.html @@ -43,7 +43,7 @@ {% if sponsors %} Supported by:
{% for s in sponsors %} - {% thumbnail s.logo "x30" crop="center" as thumb %} + {% thumbnail s.logo "120x" crop="center" as thumb %} {{ s.name }} {% endthumbnail %} {% endfor %}