Tweaks to timing mismatch modals
This commit is contained in:
parent
235972e2f4
commit
5b4af40948
|
@ -168,7 +168,7 @@ export default {
|
|||
days: 'days$core',
|
||||
day: 'day$core',
|
||||
rememberchoice: 'course_timing_rememberchoice',
|
||||
hidewarning: 'course_timing_hidewarning,'
|
||||
hidewarning: 'course_timing_hidewarning',
|
||||
},
|
||||
studyplan_associate: {
|
||||
associations: 'associations',
|
||||
|
@ -1455,7 +1455,7 @@ export default {
|
|||
for(let i = 0; i < periods; i++){
|
||||
if(line.slots[index-i] && line.slots[index-i].competencies){
|
||||
const list = line.slots[index-i].competencies;
|
||||
for(const ix in list){ // Really wish that for ( .. of .. ) would work with the minifier
|
||||
for(const ix in list){ // Really wish that 'for of' would work with the minifier moodle uses
|
||||
const item = list[ix];
|
||||
if(item.layer == layeridx){
|
||||
if(forGradable){
|
||||
|
@ -2184,7 +2184,9 @@ export default {
|
|||
:title="text.title"
|
||||
@ok="change_course_period"
|
||||
:ok-title="text.yes"
|
||||
cancel-disabled
|
||||
ok-variant="danger"
|
||||
:cancel-title="text.no"
|
||||
cancel-variant="primary"
|
||||
>
|
||||
<b-container v-if="datechanger.coursespan && datechanger.periodspan && item && item.course">
|
||||
<b-row><b-col cols="12">{{ text.desc }}</b-col></b-row>
|
||||
|
@ -2215,11 +2217,10 @@ export default {
|
|||
<b-modal
|
||||
:id="'t-course-date-warning-'+this.slotkey"
|
||||
size="lg"
|
||||
ok-variant="danger"
|
||||
ok-variant="primary"
|
||||
:title="text.title"
|
||||
:ok-title="text.yes"
|
||||
:cancel-title="text.no"
|
||||
cancel-variant="primary"
|
||||
ok-only
|
||||
>
|
||||
<b-container v-if="datechanger.coursespan && datechanger.periodspan && item && item.course">
|
||||
<b-row><b-col cols="12">{{ text.desc }}</b-col></b-row>
|
||||
|
|
Loading…
Reference in New Issue
Block a user