Skip to content

Commit

Permalink
Add Finance report for 2022 (#1642)
Browse files Browse the repository at this point in the history
Co-authored-by: ani-kalpachka <[email protected]>
  • Loading branch information
ani-kalpachka and ani-kalpachka authored Oct 30, 2023
1 parent 3faceda commit 3b78dd9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
Binary file not shown.
3 changes: 2 additions & 1 deletion public/locales/bg/about-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
"finance-report-page": {
"financeReport": "Финансови отчети за НПО Aсоциация Подкрепи.бг",
"finance-report-2021": "Финансов отчет за 2021:",
"finance-report-2022": "Финансов отчет за 2022 Януари-Юни:",
"finance-report-2022-january-june": "Финансов отчет за 2022 Януари-Юни:",
"finance-report-2022": "Финансов отчет за 2022:",
"download-from-here": "Свалете от тук"
}
}
3 changes: 2 additions & 1 deletion public/locales/en/about-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"finance-report-page": {
"financeReport": "Finance reports for NPO Association Podkrepi.bg",
"finance-report-2021": "Finance report for 2021:",
"finance-report-2022": "Finance report for 2022 January-June:",
"finance-report-2022-january-june": "Finance report for 2022 January-June:",
"finance-report-2022": "Finance report for 2022",
"download-from-here": "Download from here"
}
}
11 changes: 10 additions & 1 deletion src/components/client/about-project/FinanceReportPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,23 @@ export default function FinanceReportPage() {
</LinkButton>
</Container>
<Container>
<Typography>{t('finance-report-page.finance-report-2022')}</Typography>
<Typography>{t('finance-report-page.finance-report-2022-january-june')}</Typography>
<LinkButton
locale={false} // shows BG translation of finance report only for now
endIcon={<FileDownloadIcon />}
href="/finance-reports/Podkrepi.bg_Financial_Report_062022.pdf">
{t('finance-report-page.download-from-here')}
</LinkButton>
</Container>
<Container>
<Typography>{t('finance-report-page.finance-report-2022')}</Typography>
<LinkButton
locale={false} // shows BG translation of finance report only for now
endIcon={<FileDownloadIcon />}
href="/finance-reports/Podkrepi.bg_Financial_Report_2022.pdf">
{t('finance-report-page.download-from-here')}
</LinkButton>
</Container>
</Layout>
)
}

0 comments on commit 3b78dd9

Please sign in to comment.