forked from 0x2620/pandora
improve users dialog system tooltip
This commit is contained in:
parent
0e31c7cb97
commit
56f9e3f3d1
1 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,10 @@ pandora.ui.usersDialog = function() {
|
||||||
return system ? Ox.Element({
|
return system ? Ox.Element({
|
||||||
element: '<img>',
|
element: '<img>',
|
||||||
tooltip: value
|
tooltip: value
|
||||||
|
.replace(/BSD \((.+)\)/, '$1')
|
||||||
|
.replace(/Linux \((.+)\)/, '$1')
|
||||||
|
.replace(/Unix \((.+)\)/, '$1')
|
||||||
|
.replace(/Windows (NT \d+\.\d+) \((.+)\)/, 'Windows $2 ($1)')
|
||||||
})
|
})
|
||||||
.attr({
|
.attr({
|
||||||
src: Ox.UI.PATH + 'png/system'
|
src: Ox.UI.PATH + 'png/system'
|
||||||
|
|
Loading…
Reference in a new issue