Display anonymous users in the user list

This commit is contained in:
yflory committed 2017-03-06 14:56:41 +01:00
1 parent cb88227e2b
commit 77d09f64e1
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -312,6 +312,7 @@
//float: right;
pre {
white-space: pre;
margin: 0;
}
}
button {
+1
View File
@@ -378,6 +378,7 @@
}
.cryptpad-toolbar-leftside .cryptpad-user-list pre {
white-space: pre;
margin: 0;
}
.cryptpad-toolbar-leftside button {
margin: 2px 4px 2px 0px;
+1 -1
View File
@@ -296,7 +296,7 @@ define([
}
if (anonymous > 0) {
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) {
var viewText = '<span class="viewer">';