diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 701797750..7e3ea55e3 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -411,7 +411,8 @@ "error": "An error occurred while fetching the revisions of this note.", "errorUser": "An error occurred while fetching the user information for this revision.", "length": "Length", - "download": "Download selected revision" + "download": "Download selected revision", + "guestCount": "Anonymous authors or guests" }, "clipboardImport": { "title": "Import from clipboard", diff --git a/frontend/src/components/editor-page/document-bar/revisions/revision-list-entry.tsx b/frontend/src/components/editor-page/document-bar/revisions/revision-list-entry.tsx index 6cba80ed3..28b5051be 100644 --- a/frontend/src/components/editor-page/document-bar/revisions/revision-list-entry.tsx +++ b/frontend/src/components/editor-page/document-bar/revisions/revision-list-entry.tsx @@ -17,6 +17,7 @@ import { ListGroup } from 'react-bootstrap' import { Clock as IconClock } from 'react-bootstrap-icons' import { FileText as IconFileText } from 'react-bootstrap-icons' import { Person as IconPerson } from 'react-bootstrap-icons' +import { PersonPlus as IconPersonPlus } from 'react-bootstrap-icons' import { Trans, useTranslation } from 'react-i18next' import { useAsync } from 'react-use' @@ -74,6 +75,10 @@ export const RevisionListEntry: React.FC = ({ active, on {revisionAuthors.value} + + + : {revision.anonymousAuthorCount} + ) }