diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-06-11 01:25:47 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-06-11 01:25:47 -0400 |
commit | 7bbb038b8896413a2cff814d65a7cf2dc604e2f4 (patch) | |
tree | 2c9a0187e78cd5d6dde83b4855f080583f080137 /forum/models/repute.py | |
parent | 2f76b6460e0da66a2ef4251301059c84b3f5a753 (diff) | |
download | askbot-7bbb038b8896413a2cff814d65a7cf2dc604e2f4.tar.gz askbot-7bbb038b8896413a2cff814d65a7cf2dc604e2f4.tar.bz2 askbot-7bbb038b8896413a2cff814d65a7cf2dc604e2f4.zip |
added links to karma graph and badge summary to the rep and badge counters in the header
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) |