diff --git a/addons/website_forum/models/website_forum.py b/addons/website_forum/models/website_forum.py index b6939357959..89b583e04f4 100644 --- a/addons/website_forum/models/website_forum.py +++ b/addons/website_forum/models/website_forum.py @@ -235,12 +235,12 @@ class Vote(osv.Model): class Badge(osv.Model): _inherit = 'gamification.badge' _columns = { - 'forum': fields.boolean('Is Forum Badge'), - #NOTE: we can create new BadgeLevel object instead of selection - 'level': fields.selection([('gold', 'gold'), ('silver', 'silver'), ('bronze', 'bronze')], 'Badge Level'), + 'forum': fields.boolean('Is a Forum Badge'), + 'level': fields.selection([('bronze', 'bronze'), ('silver', 'silver'), ('gold', 'gold')], 'Badge Level'), } _defaults = { - 'forum': False + 'forum': False, + 'level': 'bronze' } class ForumActivity(osv.Model): diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 63a89ff5e0b..153e5645ecb 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -142,10 +142,157 @@ @@ -456,8 +603,13 @@ @@ -548,45 +710,43 @@ +
+ + + + + + + + + +
contributionsmember since
last connection
+
+ + + + + + + + + + + + +
statskarma
up votes + + +
down votes + + +
+
-
-
- Karma : -
-
- -
-
- Member since : -
-
- - - 3 - -
-
- Last Seen : -
-
- Feb 15'14 -
-
- Todays unused votes 30 votes left -
+ -

- - Votes -

-

- - -

-

- - -