fixed betreuerart bezeichnung formatting discrepancy between first and second assesor

This commit is contained in:
Johann Hoffmann
2026-01-21 16:26:26 +01:00
parent 48cd37058e
commit 668f0a6618
2 changed files with 4 additions and 3 deletions
@@ -727,7 +727,8 @@ export const AbgabeMitarbeiterDetail = {
</div>
<div class="row" style="margin-bottom: 12px;">
<div class="col-auto">
<!-- TODO : tooltip why this button is disabled as zweitbegutachter-->
<!-- TODO: tooltip why this button is disabled as zweitbegutachter-->
<!-- TODO: fix bug where this button is sometimes correctly disabled, sometimes just wrong when betreuer is both first and second assesor-->
<button type="button" :disabled="projektarbeit?.betreuerart_kurzbz == 'Zweitbegutachter'" class="btn btn-primary" @click="openCreateNewAbgabeModal">
<i class="fa-solid fa-plus"></i>
{{$capitalize( $p.t('abgabetool/c4newAbgabetermin') )}}
@@ -419,9 +419,9 @@ export const AbgabetoolStudent = {
</div>
</div>
<div class="row mt-2">
<div class="col-4 col-md-3 fw-bold">{{$capitalize( $p.t('abgabetool/c4betreuer') )}}</div>
<div class="col-4 col-md-3 fw-bold">{{ projektarbeit?.betreuerart_kurzbz ? $capitalize( $p.t('abgabetool/c4betrart' + projektarbeit.betreuerart_kurzbz) ) : $capitalize( $p.t('abgabetool/c4betreuer') ) }}</div>
<div class="col-8 col-md-9">
{{ projektarbeit.betreuerart_kurzbz ? $p.t('abgabetool/c4betrart' + projektarbeit.betreuerart_kurzbz) + ' ' + projektarbeit.betreuer : '' }}
{{ projektarbeit.betreuerart_kurzbz ? projektarbeit.betreuer : '' }}
</div>
</div>
<div class="row mt-2">