change badge from master => royal

This commit is contained in:
Tyler Renelle
2013-09-07 15:31:36 -04:00
parent a960d310f7
commit 5cb8238b7c
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
.label-champion .label-champion
background-color: #125BA2 background-color: #125BA2
color: white color: white
.label-master .label-royal
background-color: #7313B4 background-color: #7313B4
color: white color: white

View File

@@ -67,10 +67,10 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Groups', '$http', 'A
} }
$scope.nameTagClasses = function(message){ $scope.nameTagClasses = function(message){
if (message.contributor) { if (message.contributor) {
if (message.contributor.match(/npc/i) || message.contributor.match(/master/i)) { if (message.contributor.match(/npc/i) || message.contributor.match(/royal/i)) {
return 'label-master'; // master return 'label-royal';
} else if (message.contributor.match(/champion/i)) { } else if (message.contributor.match(/champion/i)) {
return 'label-champion'; // champion return 'label-champion';
} else if (message.contributor.match(/elite/i)) { } else if (message.contributor.match(/elite/i)) {
return 'label-success'; //elite return 'label-success'; //elite
} }