Skip to content

Commit

Permalink
fix: worksheet counter
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 7, 2025
1 parent 03e31b8 commit a6b7747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal/templates/portal/teach/teacher_edit_class.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h6>Python Den levels</h6>
{% endfor %}
{% for worksheet in episode.worksheets %}
{% if not worksheet.before_level %}
<p>{{episode.name}}{% if episode.worksheets|length > 1 %} pt. {{ forloop.counter }}{% endif %}</p>
<p>{{episode.name}}{% if episode.counter > 0 %} pt. {{ forloop.counter }}{% endif %}</p>
{% endif %}
{% endfor %}
</div>
Expand Down

0 comments on commit a6b7747

Please sign in to comment.