diff --git a/src/config/config.js b/src/config/config.js index d2dbb1eda..3b4222aa2 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -37,6 +37,11 @@ export const SIGN_IN_URL = new URL(DC_LOGIN, DC_BASE).toString(); export const SIGN_UP_URL = new URL(SQUARELET_SIGNUP, SQUARELET_BASE).toString(); export const SIGN_OUT_URL = new URL(DC_LOGOUT, DC_BASE).toString(); +export const VERIFICATION_FORM_URL = + "https://airtable.com/app93Yt5cwdVWTnqn/pagogIhgB1jZTzq00/form"; +export const SQUARELET_ORGS_URL = + "https://accounts.muckrock.com/organizations/"; + export const LANGUAGES = [ ["US English", "en", "πŸ‡ΊπŸ‡Έ"], ["Deutsche", "de", "πŸ‡©πŸ‡ͺ"], diff --git a/src/langs/json/en.json b/src/langs/json/en.json index 3ca2da738..0ec1235fb 100644 --- a/src/langs/json/en.json +++ b/src/langs/json/en.json @@ -62,8 +62,6 @@ "update": "Update", "dismiss": "Dismiss", "dispatch": "Dispatch", - "organize": "Organize", - "run": "Run", "required": "This field is required" }, "dialogReprocessDialog": { @@ -185,6 +183,13 @@ "refreshOn": "Credit allowance will reset on {date}" } }, + "unverified": { + "verify": "Before you can upload documents, we need to verify your account. DocumentCloud verification is available to newsrooms, academic institutions, researchers, legal clinics and non-profits that have a track record of posting vetted primary source materials in the public interest. If you are working with an eligible organization, please join their organization account.", + "allowed_actions": "If you are not eligible for verification, you can still search the public repository, organize documents you're interested in into projects, make private notes, and collaborate on editing and annotating documents other users invite you to.", + "requestVerificationAction": "Request verification", + "orgs": "Search organizations", + "faq": "Read more about verification in our FAQ" + }, "documents": { "yourDocuments": "Your Documents", "accessDocuments": "Your {access}Documents", @@ -539,7 +544,6 @@ "addons": "Add-Ons", "documents": "Documents", "unknown": "Unknown", - "totalCount": "{n} active {n, plural, one {process} other {processes}}", "download": "Download file" }, "feedback": { diff --git a/src/lib/components/accounts/Unverified.svelte b/src/lib/components/accounts/Unverified.svelte new file mode 100644 index 000000000..3ac8c33db --- /dev/null +++ b/src/lib/components/accounts/Unverified.svelte @@ -0,0 +1,70 @@ + + + + + +

{$_("unverified.verify")}

+ + + + +

{$_("unverified.allowed_actions")}

+

+ + {$_("unverified.faq")} + +

+
diff --git a/src/lib/components/accounts/stories/Unverified.stories.svelte b/src/lib/components/accounts/stories/Unverified.stories.svelte new file mode 100644 index 000000000..7b0452f62 --- /dev/null +++ b/src/lib/components/accounts/stories/Unverified.stories.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/lib/components/common/Tip.svelte b/src/lib/components/common/Tip.svelte index 57f2a02ad..e680d9890 100644 --- a/src/lib/components/common/Tip.svelte +++ b/src/lib/components/common/Tip.svelte @@ -14,6 +14,7 @@