@@ -5,6 +5,7 @@ import {
|
||||
PublishIcon,
|
||||
MoveIcon,
|
||||
CheckboxIcon,
|
||||
UnpublishIcon,
|
||||
} from "outline-icons";
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -85,6 +86,11 @@ const EventListItem = ({ event, latest, document, ...rest }: Props) => {
|
||||
meta = t("{{userName}} published", opts);
|
||||
break;
|
||||
|
||||
case "documents.unpublish":
|
||||
icon = <UnpublishIcon color="currentColor" size={16} />;
|
||||
meta = t("{{userName}} unpublished", opts);
|
||||
break;
|
||||
|
||||
case "documents.move":
|
||||
icon = <MoveIcon color="currentColor" size={16} />;
|
||||
meta = t("{{userName}} moved", opts);
|
||||
|
||||
@@ -112,6 +112,7 @@ class Event extends IdModel {
|
||||
"collections.move",
|
||||
"collections.permission_changed",
|
||||
"documents.publish",
|
||||
"documents.unpublish",
|
||||
"documents.archive",
|
||||
"documents.unarchive",
|
||||
"documents.move",
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
"{{userName}} deleted": "{{userName}} deleted",
|
||||
"{{userName}} moved from trash": "{{userName}} moved from trash",
|
||||
"{{userName}} published": "{{userName}} published",
|
||||
"{{userName}} unpublished": "{{userName}} unpublished",
|
||||
"{{userName}} moved": "{{userName}} moved",
|
||||
"Icon": "Icon",
|
||||
"Show menu": "Show menu",
|
||||
|
||||
Reference in New Issue
Block a user