diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 19:56:40 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 19:56:40 (GMT) |
commit | 2638a34a18673c48c6bdbf31b057bbcf03c6aed2 (patch) | |
tree | a875be8ed0097eafa7ad02952ba8af20942f5650 | |
parent | 6b6050bc2e48d29778e3c256303ae41003760c74 (diff) |
fixed text color selection
-rw-r--r-- | program/models.py | 2 |
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 |