From ccf73485cfba952451144d7841cbb3fac8368867 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sat, 8 Apr 2023 11:46:35 +0530 Subject: Injecting shared modules for the injected scripts, further reusing code. --- .../download-information-pdf-page-content.ts | 219 +++++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100644 src/scripts/functionality/view-khatian/download-information-pdf-page-content.ts (limited to 'src/scripts/functionality/view-khatian/download-information-pdf-page-content.ts') diff --git a/src/scripts/functionality/view-khatian/download-information-pdf-page-content.ts b/src/scripts/functionality/view-khatian/download-information-pdf-page-content.ts new file mode 100644 index 0000000..9ff18ec --- /dev/null +++ b/src/scripts/functionality/view-khatian/download-information-pdf-page-content.ts @@ -0,0 +1,219 @@ +const sanghaFacilitationCentreBannerUrl = chrome.runtime.getURL("/assets/sangha-facilitation-centre-banner.jpg"); + +export default (isPlotInformation: boolean, details: string, { district, block, mouza }: { district: string, block: string, mouza: string }) => ` + + +
${details}
+ + +`; -- cgit v1.2.3