remove test case from users dialog
This commit is contained in:
parent
2b0a8c4f88
commit
db9dd43740
1 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue