[webpack.teacher.view] icons greyed if 0 hours

This commit is contained in:
xdrm-brackets 2018-03-04 12:56:35 +01:00
parent 6ada8fe0a3
commit 0e2ac90b58
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@
<div class='sub'><strong>{{ prof.equiTD }}h</strong> équivalents TD</div>
<div class='footer'>
<span class='course active'>{{prof.VHCours}}</span><hr>
<span class='td active'>{{prof.VHTd}}</span><hr>
<span class='tp active'>{{prof.VHTp}}</span>
<span :class="(prof.VHCours == 0) ? 'course' : 'course active'">{{ prof.VHCours }}</span><hr>
<span :class="(prof.VHTd == 0) ? 'td' : 'td active'">{{ prof.VHTd }}</span><hr>
<span :class="(prof.VHTp == 0) ? 'tp' : 'tp active'">{{ prof.VHTp }}</span>
</div>
</section>