Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Finance report for 2022 #1642

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
)
}
Loading