More tweaks to layout of timing changers

This commit is contained in:
PMKuipers 2023-08-07 11:55:30 +02:00
parent 0915274503
commit b2e1cd065f
5 changed files with 12 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2282,38 +2282,33 @@ export default {
<span class="mr-1" v-if="course_period_matches">
<i class="text-success fa fa-calendar-check-o"
v-b-tooltip.hover.topright :title="text.timing_ok"
></i
><i class="fa fa-question-circle text-black-50"
style="font-size: 0.8em; top: -0.3em; position: relative;"
v-b-tooltip.hover.topright :title="(course_period_matches)?text.timing_ok:text.timing_off"
></i>
</span>
<span class="mr-1" v-else>
<a href='#' @click="validate_course_period()" class="text-warning"
v-b-tooltip.hover.bottomleft :title="text.timing_off"
><i class="fa fa-calendar-times-o"
v-b-tooltip.hover.topright :title="text.timing_off"
></i
><i class="fa fa-question-circle text-black-50"
style="font-size: 0.8em; top: -0.3em; position: relative;"
v-b-tooltip.hover.topright :title="text.timing_off"
></i
></a>
</span>
<span class="ml-1"
>{{
text.periodspan
}}<b-form-select
<span class="ml-1" v-b-tooltip.hover.bottomleft :title="text.periodspan_desc"
>{{ text.periodspan
}}&nbsp;<b-form-select
class=""
size="sm" @change="change_span" v-model="value.span">
<b-form-select-option v-for="(n,i) in maxspan" :value='n'
>{{ n }}</b-form-select-option>
</b-form-select
>{{
>&nbsp;{{
(value.span == 1)?text.period.toLowerCase():text.periods.toLowerCase()
}}<i
}}<i
class="fa fa-question-circle text-black-50"
style="font-size: 0.8em; top: -0.3em; position: relative;"
v-b-tooltip.hover :title="text.periodspan_desc"></i>
></i>
</span>
</template>
<b-modal

View File

@ -303,4 +303,4 @@ $string["course_timing_hidewarning"] = 'Hide this warning next time';
$string["course_timing_ok"] = 'Course timing matches period timing';
$string["course_timing_off"] = 'Course timing does not match period timing. Click here to correct.';
$string["course_period_span"] = 'Spans';
$string["course_period_span_desc"] = 'Depending on the space available in the studyplan, you can change the number of periods the course spans here. Make sure the slots directly behind this item are free if you want to expand the course.';
$string["course_period_span_desc"] = 'If the space directly after this course is free, the course can be expanded to span multiple periods.';

View File

@ -306,4 +306,4 @@ $string["course_timing_hidewarning"] = 'Hide this warning next time';
$string["course_timing_ok"] = 'Cursustiming en periodetiming komen overeen';
$string["course_timing_off"] = 'Cursustiming en periodetiming komen niet overeen. Klik hier om bij te werken.';
$string["course_period_span"] = 'Duurt';
$string["course_period_span_desc"] = 'Als er genoeg ruimte beschikbaar is, kan de duur van de cursus in perioden worden aangepast. Zorg dat de ruimte na deze cursus leeg is om de cursus langer te kunnen maken.';
$string["course_period_span_desc"] = 'Als de ruimte na deze cursus leeg is, kan de cursus worden uitgespreid over meerdere perioden.';