remove test case from users dialog

This commit is contained in:
rolux 2012-03-21 08:07:09 +00:00
parent 2b0a8c4f88
commit db9dd43740
1 changed files with 3 additions and 2 deletions

View File

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