Skip to content
Snippets Groups Projects

Resolve "Do not allow to add personal notes for cancelled lessons"

Merged Jonathan Weth requested to merge 82-do-not-count-cancelled-lessons into master
3 files
+ 23
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -59,7 +59,7 @@
<li class="tab">
<a href="#lesson-documentation">{% trans "Lesson documentation" %}</a>
</li>
{% if not lesson_period.get_substitution.cancelled %}
{% if not lesson_period.get_substitution.cancelled or not request.site.preferences.alsijil__block_personal_notes_for_cancelled %}
<li class="tab">
<a href="#personal-notes">{% trans "Personal notes" %}</a>
</li>
@@ -148,7 +148,7 @@
</div>
</div>
{% if not lesson_period.get_substitution.cancelled %}
{% if not lesson_period.get_substitution.cancelled or not request.site.preferences.alsijil__block_personal_notes_for_cancelled %}
<div class="col s12" id="personal-notes">
<div class="card">
<div class="card-content">
Loading