Skip to content

Commit

Permalink
fix: worksheet counter (#2393)
Browse files Browse the repository at this point in the history
* fix: worksheet counter

* fix: pt

---------

Co-authored-by: Florian Aucomte <[email protected]>
  • Loading branch information
SKairinos and faucomte97 authored Jan 14, 2025
1 parent 3c442aa commit 397ef87
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 @@ -185,7 +185,7 @@ <h6>Python Den levels</h6>
{% for level in episode.levels %}
{% for worksheet in episode.worksheets %}
{% if worksheet.before_level == level.id %}
<p>{{episode.name}}</p>
<p>{{episode.name}}{% if episode.worksheets|length > 1 %} pt. {{ forloop.counter }}{% endif %}</p>
{% endif %}
{% endfor %}
{% if level.name < 1010 %}
Expand Down

0 comments on commit 397ef87

Please sign in to comment.