diff options
Diffstat (limited to 'forum/models/repute.py')
-rw-r--r-- | forum/models/repute.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/forum/models/repute.py b/forum/models/repute.py index bc6bec1d..bf44922b 100644 --- a/forum/models/repute.py +++ b/forum/models/repute.py @@ -17,6 +17,12 @@ class Badge(models.Model): (SILVER, _('silver')), (BRONZE, _('bronze')), ) + CSS_CLASSES = { + GOLD: 'badge1', + SILVER: 'badge2', + BRONZE: 'badge3', + } + DISPLAY_SYMBOL = '●' name = models.CharField(max_length=50) type = models.SmallIntegerField(choices=TYPE_CHOICES) |