Skip to content

Commit

Permalink
add uploading publications for current semester
Browse files Browse the repository at this point in the history
  • Loading branch information
vikibrezinova committed Nov 10, 2023
1 parent ba073ad commit cd379f9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/components/SemesterAdministration/SemesterAdministration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {useHasPermissions} from '@/utils/useHasPermissions'
import {Button, Link} from '../Clickable/Clickable'
import {Loading} from '../Loading/Loading'
import styles from '../Problems/Problems.module.scss'
import {PublicationUploader} from '../PublicationUploader/PublicationUploader'
import {Result} from '../Results/ResultsRow'

interface PostalCard {
Expand Down Expand Up @@ -125,6 +126,31 @@ export const SemesterAdministration: FC = () => {
) : (
<></>
)}
<h3>Nahrávanie časopisov</h3>
1. časopis:
<PublicationUploader
uploadLink={'/api/competition/publication/upload/'}
publication_type={'Časopisy'}
event={`${semesterId}`}
order={'1'}
refetch={() => {}}
/>
2. časopis:
<PublicationUploader
uploadLink={'/api/competition/publication/upload/'}
publication_type={'Časopisy'}
event={`${semesterId}`}
order={'2'}
refetch={() => {}}
/>
3. časopis:
<PublicationUploader
uploadLink={'/api/competition/publication/upload/'}
publication_type={'Časopisy'}
event={`${semesterId}`}
order={'3'}
refetch={() => {}}
/>
</>
)
}

0 comments on commit cd379f9

Please sign in to comment.