Skip to content
Snippets Groups Projects
Commit 67303103 authored by Julian's avatar Julian
Browse files

Remove old mobile view

parent 66d10d95
No related branches found
No related tags found
1 merge request!236Resolve "Improve week view for mobile devices (size s)"
......@@ -183,7 +183,7 @@
</table>
</div>
</div>
<ul class="collapsible hide-on-extra-large-only">
<ul class="collapsible hide-on-extra-large-only hide-on-small-only">
<li class="">
<div class="collapsible-header flow-text">
{{ advanced_weekday.name }}, {{ advanced_weekday.date }} <i
......@@ -197,7 +197,7 @@
<a class="collection-item avatar"
href="{{ register_object.alsijil_url }}?back={{ back_url }}">
{% include "alsijil/partials/lesson_status_icon.html" with register_object=register_object css_class="materialize-circle" color_suffix=" " %}
<table class="hide-on-med-and-down">
<table>
<tr>
<th>{% trans "Subject" %}</th>
<td>
......@@ -252,53 +252,6 @@
{% endif %}
{% endwith %}
</table>
<div class="hide-on-large-only">
<ul class="collection">
<li class="collection-item">
{% if register_object.period %}
{{ register_object.period.period }}.
{% else %}
{{ register_object.period_from_on_day }}.–{{ register_object.period_to_on_day }}.
{% endif %}
{% if register_object.get_subject %}
{{ register_object.get_subject.name }}
{% elif register_object.subject %}
{{ register_object.subject }}
{% else %}
{% trans "Event" %} ({{ register_object.title }})
{% endif %}
</li>
{% if not group %}
<li class="collection-item">
{% if register_object.lesson %}
{{ register_object.lesson.group_names }}
{% else %}
{{ register_object.group_names }}
{% endif %}
</li>
{% endif %}
<li class="collection-item">
{{ register_object.teacher_names }}
</li>
<li class="collection-item">
{{ register_object.get_lesson_documentation.topic }}
</li>
{% with period.get_lesson_documentation as lesson_documentation %}
{% if lesson_documentation.homework %}
<li class="collection-item">
<strong>{% trans "Homework" %}</strong>
{% firstof register_object.get_lesson_documentation.homework "–" %}
</li>
{% endif %}
{% if lesson_documentation.group_note %}
<li class="collection-item">
<strong>{% trans "Group note" %}</strong>
{% firstof register_object.get_lesson_documentation.group_note "–" %}
</li>
{% endif %}
{% endwith %}
</ul>
</div>
</a>
{% endif %}
{% endfor %}
......
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