diff --git a/amd/src/studyplan-editor-components.js b/amd/src/studyplan-editor-components.js index 01f15d4..937401b 100644 --- a/amd/src/studyplan-editor-components.js +++ b/amd/src/studyplan-editor-components.js @@ -1343,7 +1343,7 @@ export default { @@ -1368,8 +1367,10 @@ export default { @@ -1391,8 +1392,9 @@ export default { :plan="value" :page="page" :layer="layeridx-1" - :class= "'t-studyline ' + ((line.sequence==1 && layeridx==1)?' first':'') + - (line.sequence==page.studylines.length?' last':'')" + :class="'t-studyline ' + ((lineindex%2==0)?' odd ':' even ') + + ((lineindex==0 && layeridx==1)?' first ':' ') + + ((lineindex==page.studylines.length-1)?' last ':' ')" >
{{ value.shortname }} @@ -1565,18 +1561,7 @@ export default { value : { type: Object, // Studyline default: function(){ return {};}, - }, - numlines: { - type: Number, - default: 1, - }, - - /* - :color='value.color' - :name='value.name' - :code='value.shortname' - :sequence='value.sequence' - */ + } }, data() { return { @@ -1612,7 +1597,7 @@ export default { }, template: ` -
+
@@ -1623,13 +1608,15 @@ export default {
-
+
+
`, @@ -1823,9 +1810,8 @@ export default { }, template: ` -