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',
|
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]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue