Skip to content
Snippets Groups Projects
Commit 91086eee authored by Антон Шалимов's avatar Антон Шалимов
Browse files

fix

parent c9ba7ba2
Branches
Tags
No related merge requests found
......@@ -33,7 +33,8 @@
<td class="subject" rowspan="3">Итог</td>
</tr>
<tr class="RatingTableSubmodulesHead">
{% set CellCount = 0 %} {% set col = 0 %}
{% set CellCount = 0 %}
{% set col = 0 %}
<td class="title">Мероприятие</td>
{% for i in 1..headerRate.ModulesCount %}
{% set CellCount = CellCount + headerRate[i].SubmodulesCount %}
......@@ -46,13 +47,20 @@
{% endfor %}
</tr>
<tr class="RatingTableSubmodulesHeadMaxRate">
{% set CellCount = 0 %} {% set col = 0 %}
{% set CellCount = 0 %}
{% set col = 0 %}
<td class="title">Макс. балл</td>
{% for i in 1..headerRate.ModulesCount %}
{% set CellCount = CellCount + headerRate[i].SubmodulesCount %}
{% for j in 1..headerRate[i].SubmodulesCount %}
{% set col = col + 1 %}
<td class="subject col_{{ col }}" id="{{ headerRate[i][j].SubmoduleID }}">{{ headerRate[i][j].MaxRate }} <input type="hidden" class="MaxRate" value="{{ headerRate[i][j].MaxRate }}"></td>
{% if headerRate[i].ModuleType == "exam" %}
<td class="subject" id="{{ headerRate[i][j].SubmoduleID }}">{{ headerRate[i][j].MaxRate }}</td>
{% else %}
{% set col = col + 1 %}
<td class="subject col_{{ col }}" id="{{ headerRate[i][j].SubmoduleID }}">{{ headerRate[i][j].MaxRate }}
<input type="hidden" class="MaxRate" value="{{ headerRate[i][j].MaxRate }}">
</td>
{% endif %}
{% endfor %}
{% endfor %}
</tr>
......
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