summaryrefslogtreecommitdiffstats
path: root/forum/models/repute.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-11 01:25:47 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-11 01:25:47 -0400
commit7bbb038b8896413a2cff814d65a7cf2dc604e2f4 (patch)
tree2c9a0187e78cd5d6dde83b4855f080583f080137 /forum/models/repute.py
parent2f76b6460e0da66a2ef4251301059c84b3f5a753 (diff)
downloadaskbot-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.py6
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 = '&#9679;'
name = models.CharField(max_length=50)
type = models.SmallIntegerField(choices=TYPE_CHOICES)