Code cleanup

This commit is contained in:
PMKuipers 2024-07-19 14:38:29 +02:00
parent c2c5383e10
commit 30fb9dd149

View File

@ -146,7 +146,7 @@ print <<<END
<a href='#' v-if='activestudyplan' @click.prevent='closeStudyplan' <a href='#' v-if='activestudyplan' @click.prevent='closeStudyplan'
><i style='font-size: 150%;' class='fa fa-chevron-left'></i> {$text->back}</a> ><i style='font-size: 150%;' class='fa fa-chevron-left'></i> {$text->back}</a>
<span v-if='activestudyplan'>{$text->studyplan_select}</span>&nbsp; <span v-if='activestudyplan'>{$text->studyplan_select}</span>&nbsp;
<b-form-select v-if='activestudyplan' lazy :text='dropdown_title' :value='activestudyplan.id' @change="selectStudyplan"> <b-form-select v-if='activestudyplan' lazy :text='dropdownTitle' :value='activestudyplan.id' @change="selectStudyplan">
<b-form-select-option <b-form-select-option
v-for='(studyplan, planindex) in studyplans' v-for='(studyplan, planindex) in studyplans'
:value="studyplan.id" :value="studyplan.id"
@ -164,7 +164,7 @@ print <<<END
:contextid='contextid' :contextid='contextid'
><i class='fa fa-plus'></i> {{ text.studyplan_add }}</t-studyplan-edit> ><i class='fa fa-plus'></i> {{ text.studyplan_add }}</t-studyplan-edit>
<b-button <b-button
variant='danger' href='#' role='presentation' @click="import_studyplan " variant='danger' href='#' role='presentation' @click="importStudyplan "
><i class='fa fa-upload'></i> {{ text.advanced_import_from_file }}</b-button ><i class='fa fa-upload'></i> {{ text.advanced_import_from_file }}</b-button
><mform v-if="premiumenabled && templatecount > 0" ><mform v-if="premiumenabled && templatecount > 0"
name="studyplan_fromtemplateform" name="studyplan_fromtemplateform"