-
- The link below provides a read-only version of the document{" "}
- {document.titleWithDefault}.{" "}
- {canPublish
- ? "You can optionally make it accessible to anyone with the link."
- : "It is only viewable by those that already have access to the collection."}{" "}
-
- Manage all share links
-
- .
-
- {canPublish && (
- <>
-
-
- {share.published ? : }
-
- {share.published
- ? "Anyone with the link can view this document"
- : "Only team members with access can view this document"}
-
-
- >
- )}
-
-
-
-
-
-
-
- Preview
-
-
- );
- }
-}
-
-const Privacy = styled(Flex)`
- flex-align: center;
- margin-left: -4px;
-`;
-
-const PrivacyText = styled(HelpText)`
- margin: 0;
- margin-left: 2px;
- font-size: 15px;
-`;
-
-export default inject("shares", "ui", "policies")(DocumentShare);
diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json
index b02dbb31..cd43b0e0 100644
--- a/shared/i18n/locales/en_US/translation.json
+++ b/shared/i18n/locales/en_US/translation.json
@@ -159,7 +159,6 @@
"Choose a collection": "Choose a collection",
"Unpin": "Unpin",
"Pin to collection": "Pin to collection",
- "Share link": "Share link",
"Enable embeds": "Enable embeds",
"Disable embeds": "Disable embeds",
"New nested document": "New nested document",
@@ -172,7 +171,6 @@
"Print": "Print",
"Move {{ documentName }}": "Move {{ documentName }}",
"Delete {{ documentName }}": "Delete {{ documentName }}",
- "Share document": "Share document",
"Edit group": "Edit group",
"Delete group": "Delete group",
"Group options": "Group options",
@@ -272,13 +270,18 @@
"Show contents": "Show contents",
"Edit {{noun}}": "Edit {{noun}}",
"Archived": "Archived",
- "Anyone with the link <1>1>can view this document": "Anyone with the link <1>1>can view this document",
- "Share": "Share",
"Save Draft": "Save Draft",
"Done Editing": "Done Editing",
"New from template": "New from template",
"Publish": "Publish",
"Publishing": "Publishing",
+ "Anyone with the link <1>1>can view this document": "Anyone with the link <1>1>can view this document",
+ "Share": "Share",
+ "Share this document": "Share this document",
+ "Publish to internet": "Publish to internet",
+ "Anyone with the link can view this document": "Anyone with the link can view this document",
+ "Only team members with access can view": "Only team members with access can view",
+ "The shared link was last accessed {{ timeAgo }}.": "The shared link was last accessed {{ timeAgo }}.",
"Are you sure you want to delete the {{ documentTitle }} template?": "Are you sure you want to delete the {{ documentTitle }} template?",
"Are you sure about that? Deleting the {{ documentTitle }} document will delete all of its history and any nested documents.": "Are you sure about that? Deleting the {{ documentTitle }} document will delete all of its history and any nested documents.",
"If you’d like the option of referencing or restoring the {{noun}} in the future, consider archiving it instead.": "If you’d like the option of referencing or restoring the {{noun}} in the future, consider archiving it instead.",
diff --git a/shared/styles/theme.js b/shared/styles/theme.js
index d02b379f..d1b4bc30 100644
--- a/shared/styles/theme.js
+++ b/shared/styles/theme.js
@@ -141,7 +141,7 @@ export const light = {
menuBackground: colors.white,
menuShadow:
- "0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08)",
+ "0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08), 0 30px 40px rgb(0 0 0 / 8%)",
divider: colors.slateLight,
titleBarDivider: colors.slateLight,
inputBorder: colors.slateLight,