improve users dialog system tooltip

This commit is contained in:
rolux 2012-03-27 10:29:32 +00:00
parent 0e31c7cb97
commit 56f9e3f3d1

View file

@ -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'