Skip to content
Snippets Groups Projects
Verified Commit 3cb069cd authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove photo cropping

parent 398c6551
No related branches found
No related tags found
1 merge request!62Implement school term and validity range, remove photo cropping
Pipeline #2996 passed
{% extends "core/base_print.html" %} {% extends "core/base_print.html" %}
{% load static i18n cropping data_helpers week_helpers %} {% load static i18n data_helpers week_helpers %}
{% block page_title %} {% block page_title %}
{% trans "Class register:" %} {{ group.name }} {% trans "Class register:" %} {{ group.name }}
...@@ -169,8 +169,7 @@ ...@@ -169,8 +169,7 @@
<tr> <tr>
<td rowspan="6" class="person-img"> <td rowspan="6" class="person-img">
{% if person.photo %} {% if person.photo %}
<img src="{% cropped_thumbnail person 'photo_cropping' max_size='300x400' %}" <img src="{{ person.photo.url }}" alt="{{ person.first_name }} {{ person.last_name }}"/>
alt="{{ person.first_name }} {{ person.last_name }}"/>
{% else %} {% else %}
<img src="{% static 'img/fallback.png' %}" alt="{{ person.first_name }} {{ person.last_name }}"/> <img src="{% static 'img/fallback.png' %}" alt="{{ person.first_name }} {{ person.last_name }}"/>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment