Skip to content
Snippets Groups Projects
Commit bc99b1ca authored by Anton Shalimov's avatar Anton Shalimov
Browse files

fix: show exam cell if Discipline.Type == 'exam'

parent 13a16934
No related merge requests found
......@@ -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 }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment