Skip to content
Snippets Groups Projects
Commit c62bfed0 authored by RomanSteinberg's avatar RomanSteinberg
Browse files

REF: exam.twig

parent b28334cf
Branches
Tags v0.9.3
No related merge requests found
......@@ -77,16 +77,11 @@
<td class="title">Макс. балл</td>
{% for i in 1..headerRate.ModulesCount %}
{% set columnsCount = columnsCount + headerRate[i].SubmodulesCount %}
{% set examModule = false %}
{% if headerRate[i].ModuleType == 'exam' %}{% set examModule = true %}{% endif %}
{% for j in 1..headerRate[i].SubmodulesCount %}
{% set col = col + 1 %}
{% if headerRate[i].ModuleType != 'extra' %}
<td class="subject col_{{ col }}"> {# id="{{ headerRate[i][j].SubmoduleID }}"> #}
{% if headerRate[i].ModuleType != 'extra' %}{{ headerRate[i][j].MaxRate }}{% endif %}
{# <input type="hidden" class="MaxRate" value="{{ headerRate[i][j].MaxRate }}"> #}
</td>
{% if examModule %}
<td class="subject col_{{ col }}"> {{ headerRate[i][j].MaxRate }} </td>
{% if headerRate[i].ModuleType == 'exam' %}
{% set columnsCount = columnsCount + 1 %}
<td class="subject col_absence_{{ col }}">
Неявка
......
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