UX: Show translated badge names and badge groupings

FIX: Disallow renaming of system badges
FIX: Disallow renaming/deleting of system badge groupings
UX: Use "modern" button style in badge groupings dialog
This commit is contained in:
Gerhard Schlager
2015-12-26 23:58:54 +01:00
parent f0694d491a
commit 8517674a32
8 changed files with 45 additions and 42 deletions

View File

@@ -9,7 +9,7 @@ class BadgeGrouping < ActiveRecord::Base
has_many :badges
def system?
id && id < 5
id && id <= 5
end
def default_position=(pos)