Cleanup
This commit is contained in:
parent
2268aba9d5
commit
dbb1386b7d
|
@ -111,6 +111,7 @@ $text = (object)[
|
||||||
'loading' => get_string("loading", "core"),
|
'loading' => get_string("loading", "core"),
|
||||||
'studyplan_select' => get_string("studyplan_select", 'local_treestudyplan'),
|
'studyplan_select' => get_string("studyplan_select", 'local_treestudyplan'),
|
||||||
'studyplan_noneselected' => get_string("studyplan_noneselected", 'local_treestudyplan'),
|
'studyplan_noneselected' => get_string("studyplan_noneselected", 'local_treestudyplan'),
|
||||||
|
'defaultaggregation' => get_config("local_treestudyplan", "aggregation_mode"),
|
||||||
];
|
];
|
||||||
|
|
||||||
print <<<END
|
print <<<END
|
||||||
|
@ -157,7 +158,7 @@ print <<<END
|
||||||
v-model="create.studyplan"
|
v-model="create.studyplan"
|
||||||
type="button"
|
type="button"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
default-aggregation="<?php print(get_config("local_treestudyplan", "aggregation_mode")); ?>"
|
default-aggregation="{$text->defaultaggregation}"
|
||||||
: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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user