You've already forked isop-mirror
refactor: reformat internhip editor page for admins
This commit is contained in:
@@ -65,17 +65,23 @@ const { data, error } = await useSanctumFetch<Internship>(`/api/internships/${ro
|
||||
id="login-error-alert" class="mx-auto alert"></v-alert>
|
||||
|
||||
<div v-else>
|
||||
<h2>Základné informácie</h2>
|
||||
<InternshipEditor :start="data?.start" :end="data?.end" :year_of_study="data?.year_of_study" :semester="data?.semester" :company_id="data?.company.id" :description="data?.position_description" :submit="handleUpdateOfBasicInfo" />
|
||||
<hr />
|
||||
<div>
|
||||
<h2>Základné informácie</h2>
|
||||
<InternshipEditor :start="data?.start" :end="data?.end" :year_of_study="data?.year_of_study"
|
||||
:semester="data?.semester" :company_id="data?.company.id"
|
||||
:description="data?.position_description" :submit="handleUpdateOfBasicInfo" />
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<h2>Stav</h2>
|
||||
<h4>Aktuálny stav</h4>
|
||||
<p>{{ prettyInternshipStatus(data?.status.status!) }}</p>
|
||||
<p>Poznámka: <em>{{ data?.status.note }}</em></p>
|
||||
<p>Posledná zmena: <em>{{ data?.status.changed }}, {{ data?.status.modified_by.name }}</em></p>
|
||||
<br />
|
||||
<h4>História</h4>
|
||||
<div>
|
||||
<h2>Stav</h2>
|
||||
<h4>Aktuálny stav</h4>
|
||||
<p>{{ prettyInternshipStatus(data?.status.status!) }}</p>
|
||||
<p>Poznámka: <em>{{ data?.status.note }}</em></p>
|
||||
<p>Posledná zmena: <em>{{ data?.status.changed }}, {{ data?.status.modified_by.name }}</em></p>
|
||||
<br />
|
||||
<h4>História</h4>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user