mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-05 19:11:06 +00:00
feat(frontend): personalId, link on admin dashboard
This commit is contained in:
parent
c230154d99
commit
1c29369ce5
2 changed files with 12 additions and 8 deletions
|
|
@ -13,9 +13,9 @@
|
||||||
<thead class="bg-[#f6f4f4] ">
|
<thead class="bg-[#f6f4f4] ">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col"> Ev. č. přihlásky </th>
|
<th scope="col"> Ev. č. přihlásky </th>
|
||||||
<th scope="col"> Jméno </th>
|
|
||||||
<th scope="col"> Příjmení </th>
|
|
||||||
<th scope="col"> Obor </th>
|
<th scope="col"> Obor </th>
|
||||||
|
<th scope="col"> Rodné číslo </th>
|
||||||
|
<th scope="col"> Link </th>
|
||||||
<th scope="col" />
|
<th scope="col" />
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
@ -29,15 +29,15 @@
|
||||||
href="/admin/candidate/{candidate.applicationId}">{candidate.applicationId}</a
|
href="/admin/candidate/{candidate.applicationId}">{candidate.applicationId}</a
|
||||||
></td
|
></td
|
||||||
>
|
>
|
||||||
<td class="text-gray-900">
|
|
||||||
{candidate.name}
|
|
||||||
</td>
|
|
||||||
<td class="text-gray-900">
|
|
||||||
{candidate.surname}
|
|
||||||
</td>
|
|
||||||
<td class="text-gray-900">
|
<td class="text-gray-900">
|
||||||
{candidate.fieldOfStudy}
|
{candidate.fieldOfStudy}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="text-gray-900">
|
||||||
|
{candidate.personalIdNumber}
|
||||||
|
</td>
|
||||||
|
<td class="text-gray-900">
|
||||||
|
{candidate.relatedApplications?.filter((a) => a !== candidate.applicationId)}
|
||||||
|
</td>
|
||||||
<td class="text-sm">
|
<td class="text-sm">
|
||||||
<Delete id={candidate.applicationId} on:delete value="Odstranit" />
|
<Delete id={candidate.applicationId} on:delete value="Odstranit" />
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,12 @@ export interface CandidateData {
|
||||||
|
|
||||||
export interface CandidatePreview {
|
export interface CandidatePreview {
|
||||||
applicationId?: number;
|
applicationId?: number;
|
||||||
|
candidateId?: number;
|
||||||
|
relatedApplications?: Array<number>;
|
||||||
|
personalIdNumber?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
surname?: string;
|
surname?: string;
|
||||||
|
email?: string;
|
||||||
fieldOfStudy?: string;
|
fieldOfStudy?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue