diff --git a/~dev_rating/application/views/teacher/discipline/rating/rate.twig b/~dev_rating/application/views/teacher/discipline/rating/rate.twig index 6a2e26683ab551a8a9d6a7e3a0131208b18dfd9a..d56d11473f91e703c01ab713cc23b53785a88262 100644 --- a/~dev_rating/application/views/teacher/discipline/rating/rate.twig +++ b/~dev_rating/application/views/teacher/discipline/rating/rate.twig @@ -159,7 +159,7 @@ {% set j = j + 1 %} {% if Module.Type == 'regular' %} - <td id="col_{{ j }}" class="commonCell {{ Discipline.Milestone ? staticCell }}"> + <td id="col_{{ j }}" class="{{ Discipline.Milestone ? 'staticCell' : 'commonCell' }}"> <input type="text" value="{{ rate }}"> </td> {% else %} @@ -182,10 +182,12 @@ {{ extraRate ? extraRate }} </td> - <td class="staticCell examCell"> - {#<p>{{ examRate ? examRate }}</p>#} - {{ examRate ? examRate }} - </td> + {% if Discipline.Type == 'exam' %} + <td class="staticCell examCell"> + {#<p>{{ examRate ? examRate }}</p>#} + {{ examRate ? examRate }} + </td> + {% endif %} <td class="staticCell rateResultCell"> {{ sumRate > 100 ? '100+' : sumRate }}