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);
|
.appendTo($form);
|
||||||
|
|
||||||
Ox.Input({
|
if (user.pending) {
|
||||||
readonly: true,
|
|
||||||
label: Ox._('Message'),
|
Ox.Input({
|
||||||
labelWidth: 128,
|
readonly: true,
|
||||||
style: 'squared',
|
label: Ox._('Message'),
|
||||||
value: user.message || '',
|
labelWidth: 128,
|
||||||
width: 480
|
style: 'squared',
|
||||||
})
|
value: user.message || '',
|
||||||
.css({
|
width: 480
|
||||||
marginTop: '8px'
|
})
|
||||||
})
|
.css({
|
||||||
.appendTo($form);
|
marginTop: '8px'
|
||||||
|
})
|
||||||
|
.appendTo($form);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue