Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinL1337 committed Nov 17, 2024
1 parent 0af247c commit acb6434
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ <h3 class="d-inline-block">{{ class_type|decode_class_type_plural }}
{# Link to the group page #}
<th></th>
{% endif %}
<th scope="col">Add to sched</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -118,12 +119,22 @@ <h3 class="d-inline-block">{{ class_type|decode_class_type_plural }}
</form>
{% endif %}
</td>
{% endif %}
{% if user.student or user.employee or user.is_staff %}
{% endif %}
{% if user.student or user.employee or user.is_staff %}
<td>
<a href="{% url 'group-view' group.pk %}">lista</a>
</td>
{% endif %}
<td class="schedule">
<form action="" method="post" class="addToSchedule">
<div>
<button type="submit" class="btn btn-primary btn-sm addToScheduleButton"
onclick="return confirm('Czy na pewno chcesz dodać tą grupę do prototypu planu zajęć?');">
Dodaj do prototypu
</button>
</div>
</form>
</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit acb6434

Please sign in to comment.