Commit 82ce55d3 authored by alexandre's avatar alexandre

Merge branch 'master' of gitlab.constantvzw.org:osp/work.w

parents b1d5cc1b eb64b379
......@@ -403,16 +403,23 @@ window.W = window.W || {};
var incr = sublines.length + 1;
var title = "Sous axe " + incr;
var title2 = "Sous axe " + (incr + 1);
var alts = '';
if(this.model.get("alternative_mode")){
alts = "V" + this.model.get('alternative_n') + "-" + this.model.get('alternative_p');
if(this.model.get("alternative_mode") == "exclusive"){
alts = "V"+this.model.get('alternative_p');
}
}
if (sublines.length == 0) {
sublines.add([{
title: title
title: title,
}, {
title: title2
title: title2,
}]);
} else {
sublines.add({
title: title
title: title,
alternative_symbole : alts
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment