2017-10-03 10:54:49 +02:00
|
|
|
table.table.table-bordered.table-striped.table-hover
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th Course name
|
|
|
|
each type in types
|
|
|
|
th #{type}
|
|
|
|
th Total TD equivalent
|
|
|
|
tbody
|
|
|
|
each course in courses
|
2017-10-03 14:17:26 +02:00
|
|
|
tr(class=course.totalTdEquivalent === 0 ? "no-courses" : "")
|
2017-10-03 10:54:49 +02:00
|
|
|
td #{course.name}
|
|
|
|
each type in types
|
|
|
|
td #{course[type]}
|
|
|
|
td #{course.totalTdEquivalent}
|
2017-10-03 14:17:26 +02:00
|
|
|
tr#extend
|
2017-10-04 11:25:59 +02:00
|
|
|
td(colspan=2+types.length)
|
|
|
|
a#extendText(href="#") ...
|
|
|
|
|
|
|
|
each course in noCourses
|
|
|
|
tr.no-courses
|
|
|
|
td #{course.name}
|
|
|
|
each type in types
|
|
|
|
td #{course[type]}
|
|
|
|
td #{course.totalTdEquivalent}
|
2017-10-03 14:17:26 +02:00
|
|
|
|
2017-10-03 10:54:49 +02:00
|
|
|
tr.table-active
|
|
|
|
td
|
|
|
|
strong #{total.name}
|
|
|
|
each type in types
|
|
|
|
td
|
|
|
|
strong #{total[type]}
|
|
|
|
td
|
|
|
|
strong #{total.totalTdEquivalent}
|
|
|
|
|
|
|
|
p.
|
|
|
|
If you think there is a mistake in this table, feel free to
|
2018-06-04 14:33:51 +02:00
|
|
|
<a href="mailto:thomas@forgione.fr">send me a mail</a>
|
|
|
|
exaplaining what are the problem so I can fix it. Thanks!
|
2017-10-03 14:17:26 +02:00
|
|
|
|