spelfout + wijziging titel

This commit is contained in:
Monique
2021-09-24 12:27:49 +02:00
parent 243681fef6
commit 66c9d1305c
2 changed files with 27 additions and 4 deletions
@@ -1,11 +1,14 @@
<div class="col-sm-12 mainpagina" id ="pagsopoverzicht">
<div class="row">
<div class="col-xs-3"></div>
<div class="col-xs-2"></div>
<div class="col-xs-6 " >
<div class="col-xs-9 " >
<h4 data-bind="text: titel ">
</h4>
<h4 data-bind="text: subtitel ">
</h4>
<h3 data-bind="text: orgsoort() == 4 ? 'Compact Ondersteuningsprofiel' : 'Compacte Ondersteuningsprofielen' ">
</h3>
<p>Selecteer een schooljaar:</p>
<select data-bind=" options: schooljaren,
@@ -108,6 +108,26 @@ mh.initSopOverzichtModel = function(){
schooljaren : ko.observableArray([]),
selectedSchooljaar : ko.observable(''),
gegevens : ko.observable(true),
titel : ko.pureComputed( function(){
if(mh.SopOverzichtModel && mh.SopOverzichtModel.orgsoort()){
switch(mh.SopOverzichtModel.orgsoort()){
case 4 : return 'Compact schoolondersteuningsprofiel (SOP)';
case 3 : return 'Compacte schoolondersteuningsprofielen (SOPs)';
case 2 : return 'Compacte school- en bestuursondersteuningsprofielen (SOPs en BOPs)';
case 1 : return 'Compacte school-, bestuurs- en regionale ondersteuningsprofielen (SOPs, BOPs en ROPs)';
}
}
}),
subtitel : ko.pureComputed( function(){
if(mh.SopOverzichtModel && mh.SopOverzichtModel.orgsoort()){
switch(mh.SopOverzichtModel.orgsoort()){
case 4 : return '';
case 3 : return 'en het bestuurondersteuningsprofiel (BOP)';
case 2 : return 'en het regionaal ondersteuningsprofiel (ROP)';
case 1 : return 'en het SWV-ondersteuningsprofiel (SWOP)';
}
}
}),