Display anonymous users in the user list
This commit is contained in:
parent
cb88227e2b
commit
77d09f64e1
@ -312,6 +312,7 @@
|
|||||||
//float: right;
|
//float: right;
|
||||||
pre {
|
pre {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
|
|||||||
@ -378,6 +378,7 @@
|
|||||||
}
|
}
|
||||||
.cryptpad-toolbar-leftside .cryptpad-user-list pre {
|
.cryptpad-toolbar-leftside .cryptpad-user-list pre {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.cryptpad-toolbar-leftside button {
|
.cryptpad-toolbar-leftside button {
|
||||||
margin: 2px 4px 2px 0px;
|
margin: 2px 4px 2px 0px;
|
||||||
|
|||||||
@ -296,7 +296,7 @@ define([
|
|||||||
}
|
}
|
||||||
if (anonymous > 0) {
|
if (anonymous > 0) {
|
||||||
var text = anonymous === 1 ? Messages.anonymousUser : Messages.anonymousUsers;
|
var text = anonymous === 1 ? Messages.anonymousUser : Messages.anonymousUsers;
|
||||||
$editUsers.push('<span class="anonymous">' + anonymous + ' ' + text + '</span>');
|
$editUsers.append('<span class="anonymous">' + anonymous + ' ' + text + '</span>');
|
||||||
}
|
}
|
||||||
if (numberOfViewUsers > 0) {
|
if (numberOfViewUsers > 0) {
|
||||||
var viewText = '<span class="viewer">';
|
var viewText = '<span class="viewer">';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user