remove test case from users dialog

This commit is contained in:
rolux 2012-03-21 08:07:09 +00:00
parent 2b0a8c4f88
commit db9dd43740

View file

@ -129,9 +129,10 @@ pandora.ui.usersDialog = function() {
{ {
align: 'center', align: 'center',
format: function(value, data) { format: function(value, data) {
var userLevel = data.useragent.indexOf('Googlebot') > -1
? 'Robot' : value;
return Ox.Theme.formatColorLevel( return Ox.Theme.formatColorLevel(
data.useragent.indexOf('Googlebot') > -1 || data.username == 'rlx' userLevels.indexOf(userLevel),
? 5 : pandora.site.userLevels.indexOf(value),
userLevels, userLevels,
[0, 300] [0, 300]
); );