only display message for pending requests
This commit is contained in:
parent
31f5a100f6
commit
1d585811d3
1 changed files with 16 additions and 12 deletions
|
@ -336,18 +336,22 @@ oml.ui.peersPanel = function() {
|
|||
})
|
||||
.appendTo($form);
|
||||
|
||||
Ox.Input({
|
||||
readonly: true,
|
||||
label: Ox._('Message'),
|
||||
labelWidth: 128,
|
||||
style: 'squared',
|
||||
value: user.message || '',
|
||||
width: 480
|
||||
})
|
||||
.css({
|
||||
marginTop: '8px'
|
||||
})
|
||||
.appendTo($form);
|
||||
if (user.pending) {
|
||||
|
||||
Ox.Input({
|
||||
readonly: true,
|
||||
label: Ox._('Message'),
|
||||
labelWidth: 128,
|
||||
style: 'squared',
|
||||
value: user.message || '',
|
||||
width: 480
|
||||
})
|
||||
.css({
|
||||
marginTop: '8px'
|
||||
})
|
||||
.appendTo($form);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue