Skip to content

Commit

Permalink
remove manual donation create form (#1557)
Browse files Browse the repository at this point in the history
* deleted forms for create and edit donation which are not used anymore

* cleanup formatting and linting
  • Loading branch information
quantum-grit authored Aug 17, 2023
1 parent 06bc761 commit 578c4fb
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 425 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ Watch releases of this repository to be notified about future updates:
## Contributors ✨

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-71-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

Please check [contributors guide](https://github.com/podkrepi-bg/frontend/blob/master/CONTRIBUTING.md) for:
Expand Down
4 changes: 2 additions & 2 deletions public/locales/bg/campaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
"status": "Статус:",
"messages": "Кампанията подкрепиха:",
"sort": {
"title" : "Сортирай по:",
"date" : "Дата",
"title": "Сортирай по:",
"date": "Дата",
"amount": "Дарение",
"search": "Търси...",
"noResults": "Не са открити резултати"
Expand Down
4 changes: 2 additions & 2 deletions public/locales/en/campaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"others": "others",
"messages": "Messages:",
"sort": {
"title" : "Sort by:",
"date" : "Date",
"title": "Sort by:",
"date": "Date",
"amount": "Amount",
"search": "Search...",
"noResults": "No messages found"
Expand Down
16 changes: 1 addition & 15 deletions src/components/admin/InfoRequestBottomAppBar.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { Box, Toolbar, Tooltip, Typography } from '@mui/material'
import {
Add as AddIcon,
Print as PrintIcon,
Save as SaveIcon,
Share as ShareIcon,
EventNote as EventNoteIcon,
} from '@mui/icons-material'
import { Add as AddIcon } from '@mui/icons-material'

const addIconStyles = {
background: '#4ac3ff',
Expand All @@ -14,14 +8,6 @@ const addIconStyles = {
padding: 1.2,
boxShadow: 3,
}
const iconStyles = {
background: 'white',
borderRadius: '50%',
cursor: 'pointer',
padding: 0.5,
boxShadow: 3,
mr: 1,
}

export default function InfoRequestBottomAppBar() {
return (
Expand Down
16 changes: 1 addition & 15 deletions src/components/admin/bankaccounts/grid/GridAppbar.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { useRouter } from 'next/router'
import { Box, Toolbar, Tooltip, Typography } from '@mui/material'
import {
Add as AddIcon,
Print as PrintIcon,
Save as SaveIcon,
Share as ShareIcon,
EventNote as EventNoteIcon,
} from '@mui/icons-material'
import { Add as AddIcon } from '@mui/icons-material'

import { routes } from 'common/routes'

Expand All @@ -17,14 +11,6 @@ const addIconStyles = {
padding: 1.2,
boxShadow: 3,
}
const iconStyles = {
background: 'white',
borderRadius: '50%',
cursor: 'pointer',
padding: 0.5,
boxShadow: 3,
mr: 1,
}

export default function GridAppbar() {
const router = useRouter()
Expand Down
21 changes: 0 additions & 21 deletions src/components/admin/donations/CreatePage.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions src/components/admin/donations/EditPage.tsx

This file was deleted.

Loading

0 comments on commit 578c4fb

Please sign in to comment.