Commit fc60f8d64b7f8340003f362d63b0a9150193f774

Authored by Felipe Henrique de Almeida Bormann
1 parent 4747a612

fixing listing problems

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
subjects/templates/subjects/list.html
... ... @@ -99,7 +99,7 @@
99 99  
100 100 <div class="panel-group subject-group" id="{{ category.slug }}-accordion" role="tablist" aria-multiselectable="true">
101 101 {% for subject in category.subject_category.all %}
102   - {% if request.user in subject.students.all or request.user.is_staff or request.user in subject.professor.all or all %}
  102 + {% if request.user in subject.students.all or request.user.is_staff or request.user in subject.professor.all %}
103 103  
104 104 {% include "subjects/subject_card.html" %}
105 105 {% endif %}
... ...