+ {#if (lesson.info.length > 0) || (plan_type === "forms" && (forms.length > 1)) || (plan_type === "teachers" && (teachers.length > 1)) || (plan_type === "rooms" && (rooms.length > 1))}
+
+
+
+ {#if lesson.scheduled_class == null && lesson.current_class == null}
+ -
+ {:else}
+ {lesson.current_class != null ? lesson.current_class : ""}
+ {#if lesson.takes_place}
+ {#if lesson.scheduled_class !== lesson.current_class && lesson.scheduled_class != null}
+ {#if lesson.current_class != null} {/if}
+ {lesson.scheduled_class}
+ {/if}
+ {:else}
+ {lesson.scheduled_class}
+ {/if}
+ {/if}
+
+
+ {#if plan_type !== "teachers"}
+
+ {#if teachers.length !== 0 || s_teachers.length !== 0}
+ {#each teachers || [] as teacher}
+
+ {/each}
+ {#each s_teachers || [] as teacher}
+
+ {/each}
+ {:else}
+
+ {/if}
+
+ {/if}
+
+ {#if plan_type !== "rooms"}
+
+ {#if rooms.length !== 0 || s_rooms.length !== 0}
+ {#each rooms || [] as room}
+
+ {:else}
+
+ {/each}
+ {#each s_rooms || [] as room}
+
+ {/each}
+ {:else}
+
+ {/if}
+
+ {/if}
+
+ {#if plan_type !== "forms"}
+ {#if forms.length === 0 && s_forms.length === 0}
+
+
+
+ {:else if forms.length === 1 && s_forms.length === 0}
+
+
+
+ {:else if forms.length === 0 && s_forms.length === 1}
+
+
+
+ {:else}
+
+
+
+
+ {#each forms as form}
+
+ {/each}
+ {#each s_forms as form}
+
+ {/each}
+
+
+ {/if}
+ {/if}
+