diff --git a/README.md b/README.md index 0fdc4f17c..f7d05de21 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,9 @@ Watch releases of this repository to be notified about future updates: ## Contributors ✨ + [![All Contributors](https://img.shields.io/badge/all_contributors-77-orange.svg?style=flat-square)](#contributors-) + Please check [contributors guide](https://github.com/podkrepi-bg/frontend/blob/master/CONTRIBUTING.md) for: diff --git a/public/locales/bg/beneficiary.json b/public/locales/bg/beneficiary.json index d7047fd9a..c145dc094 100644 --- a/public/locales/bg/beneficiary.json +++ b/public/locales/bg/beneficiary.json @@ -37,7 +37,7 @@ "company-select": "Изберете ЮЛНЦ или", "create-new": "създайте нов", "person-label": "Потребител", - "company-label": "ЮЛНЦ", + "company-label": "ЮЛНЦ" } }, "actions": "Действия", diff --git a/public/locales/bg/validation.json b/public/locales/bg/validation.json index a8bb33df0..b510072c6 100644 --- a/public/locales/bg/validation.json +++ b/public/locales/bg/validation.json @@ -24,4 +24,4 @@ "payment-reference": "Невалиден формат на кода за плащане", "eik-invalid": "Невалидно ЕИК", "help-us-improve": "Съгласявам се да се свържете с мен за подобрение на платформата." -} \ No newline at end of file +} diff --git a/public/locales/en/bank-transactions.json b/public/locales/en/bank-transactions.json index 1e6146cfb..fdc23badd 100644 --- a/public/locales/en/bank-transactions.json +++ b/public/locales/en/bank-transactions.json @@ -1,27 +1,26 @@ { - "all": "All bank transactions", - "bank-transactions": "Bank transactions", - "transaction-date": "Transaction date", - "amount": "Amount", - "currency": "Currency", - "donation-status": "Donation status", - "id": "Trnsaction ID", - "bank-name": "Bank name", + "all": "All bank transactions", + "bank-transactions": "Bank transactions", + "transaction-date": "Transaction date", + "amount": "Amount", + "currency": "Currency", + "donation-status": "Donation status", + "id": "Trnsaction ID", + "bank-name": "Bank name", + "type": "Type", + "description": "Description", + "cta": { + "download": "Download", + "status": "Donation status", "type": "Type", - "description": "Description", - "cta": { - "download": "Download", - "status": "Donation status", - "type": "Type", - "from": "From", - "to": "To", - "apply-ref-heading": "Apply ref heading", - "apply-ref": "Apply ref", - "edit": "Edit", - "start-sync": "Start sync" - }, - "matched-ref": "Matched ref", - "payment-ref": "Payment ref", - "rerun-dates": "Repeat bank sync" - } - \ No newline at end of file + "from": "From", + "to": "To", + "apply-ref-heading": "Apply ref heading", + "apply-ref": "Apply ref", + "edit": "Edit", + "start-sync": "Start sync" + }, + "matched-ref": "Matched ref", + "payment-ref": "Payment ref", + "rerun-dates": "Repeat bank sync" +} diff --git a/public/locales/en/validation.json b/public/locales/en/validation.json index 73d78913e..2e10d857d 100644 --- a/public/locales/en/validation.json +++ b/public/locales/en/validation.json @@ -24,4 +24,4 @@ "payment-reference": "Invalid payment code format", "eik-invalid": "Invalid EIK", "help-us-improve": "I agree to be contacted to help improve the platform." -} \ No newline at end of file +} diff --git a/src/components/client/auth/profile/MyNotificationsTab.tsx b/src/components/client/auth/profile/MyNotificationsTab.tsx index fc73de12b..ba994e552 100644 --- a/src/components/client/auth/profile/MyNotificationsTab.tsx +++ b/src/components/client/auth/profile/MyNotificationsTab.tsx @@ -17,6 +17,7 @@ const classes = { smallText: `${PREFIX}-smallText`, boxTitle: `${PREFIX}-boxTitle`, statusBoxRow: `${PREFIX}-statusBoxRow`, + statusBoxBtnStatus: `${PREFIX}-statusBoxBtnStatus`, notificationsBox: `${PREFIX}-notificationBox`, statusBtn: `${PREFIX}-statusBtn`, statusActive: `${PREFIX}-statusActive`, @@ -61,9 +62,17 @@ const Root = styled('div')(({ theme }) => ({ [`& .${classes.statusBoxRow}`]: { display: 'flex', justifyContent: 'space-between', + flexWrap: 'wrap', + gap: 20, alignItems: 'center', padding: theme.spacing(0, 2), }, + [`& .${classes.statusBoxBtnStatus}`]: { + display: 'flex', + alignItems: 'center', + gap: 20, + flexWrap: 'wrap', + }, [`& .${classes.statusActive}`]: { color: 'green', }, @@ -112,23 +121,25 @@ export default function MyNotificationsTab() { {t('profile:myNotifications.status-msg')} - - {user?.user.newsletter - ? t('profile:myNotifications.status.active') - : t('profile:myNotifications.status.inactive')} - - + + + {user?.user.newsletter + ? t('profile:myNotifications.status.active') + : t('profile:myNotifications.status.inactive')} + + + {user?.user.newsletter && ( diff --git a/src/components/client/faq/VerticalTabs.tsx b/src/components/client/faq/VerticalTabs.tsx index b61bfbde4..82143a28f 100644 --- a/src/components/client/faq/VerticalTabs.tsx +++ b/src/components/client/faq/VerticalTabs.tsx @@ -20,14 +20,17 @@ const VerticalTabs = ({ faqCategories }: Props) => { query: { section: newValue }, }) } - + const rightLineStyle = + faqCategories.length > 0 + ? { borderRight: 1, borderColor: 'divider', mb: 4, width: '100%' } + : { borderColor: 'divider', mb: 4, width: '100%' } return ( + sx={rightLineStyle}> {faqCategories.map((category) => { return })} diff --git a/src/components/client/irregularity/steps/Greeting.tsx b/src/components/client/irregularity/steps/Greeting.tsx index d850a1567..661bafa1e 100644 --- a/src/components/client/irregularity/steps/Greeting.tsx +++ b/src/components/client/irregularity/steps/Greeting.tsx @@ -4,8 +4,6 @@ import { useTranslation } from 'next-i18next' import { Grid, Typography } from '@mui/material' import Subtitle from '../helpers/Subtitle' -import Link from 'components/common/Link' -import { routes } from 'common/routes' const greetingStyles = { fontWeight: 'bold',