only display message for pending requests

This commit is contained in:
rlx 2016-01-17 15:14:32 +05:30
parent 31f5a100f6
commit 1d585811d3
1 changed files with 16 additions and 12 deletions

View File

@ -336,6 +336,8 @@ oml.ui.peersPanel = function() {
})
.appendTo($form);
if (user.pending) {
Ox.Input({
readonly: true,
label: Ox._('Message'),
@ -351,6 +353,8 @@ oml.ui.peersPanel = function() {
}
}
Ox.Label({
textAlign: 'center',
style: 'squared',