This commit is contained in:
PMKuipers 2024-06-03 10:48:07 +02:00
parent 2268aba9d5
commit dbb1386b7d

View File

@ -111,6 +111,7 @@ $text = (object)[
'loading' => get_string("loading", "core"),
'studyplan_select' => get_string("studyplan_select", 'local_treestudyplan'),
'studyplan_noneselected' => get_string("studyplan_noneselected", 'local_treestudyplan'),
'defaultaggregation' => get_config("local_treestudyplan", "aggregation_mode"),
];
print <<<END
@ -157,7 +158,7 @@ print <<<END
v-model="create.studyplan"
type="button"
variant="primary"
default-aggregation="<?php print(get_config("local_treestudyplan", "aggregation_mode")); ?>"
default-aggregation="{$text->defaultaggregation}"
:contextid='contextid'
><i class='fa fa-plus'></i> {{ text.studyplan_add }}</t-studyplan-edit>
<b-button