summaryrefslogtreecommitdiff
path: root/program/models.py
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 19:56:40 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 19:56:40 (GMT)
commit2638a34a18673c48c6bdbf31b057bbcf03c6aed2 (patch)
treea875be8ed0097eafa7ad02952ba8af20942f5650 /program/models.py
parent6b6050bc2e48d29778e3c256303ae41003760c74 (diff)
fixed text color selection
Diffstat (limited to 'program/models.py')
-rw-r--r--program/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/models.py b/program/models.py
index 9e8fd06..89e2fa7 100644
--- a/program/models.py
+++ b/program/models.py
@@ -24,7 +24,7 @@ class BroadcastFormat(models.Model):
verbose_name_plural = _("Broadcast formats")
def admin_color(self):
- return u'<span style="background-color:%s; color: %s padding: 0.2em">%s/%s</span>' % (self.color, self.text_color, self.color, self.text_color)
+ return u'<span style="background-color: %s; color: %s; padding: 0.2em">%s/%s</span>' % (self.color, self.text_color, self.color, self.text_color)
admin_color.short_description = _("Color")
admin_color.allow_tags = True