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

New table for Tablets

parent 2807aa00
No related branches found
No related tags found
1 merge request!88Resolve "Check (responsive) design"
...@@ -117,17 +117,27 @@ ...@@ -117,17 +117,27 @@
{% for period in periods %} {% for period in periods %}
<a class="collection-item avatar" <a class="collection-item avatar"
href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}"> href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}">
<p class="title"> {% include "alsijil/partials/lesson_status_icon.html" with period=period css_class="circle" color_suffix=" " %}
{% include "alsijil/partials/lesson_status_icon.html" with period=period css_class="circle" color_suffix=" " %} <table class="hide-on-med-and-down">
{{ period.period.period }}. {{ period.get_subject.name }} <tr>
</p> <th>{% trans "Subject" %}</th>
<p> <td>{{ period.period.period }}. {{ period.get_subject.name }}</td>
</tr>
{% if not group %} {% if not group %}
{{ period.lesson.group_names }} <tr>
<th>{% trans "Group" %}</th>
<td>{{ period.lesson.group_names }}</td>
</tr>
{% endif %} {% endif %}
{{ period.get_teacher_names }} <tr>
</p> <th>{% trans "Teachers" %}</th>
<p>{{ period.get_lesson_documentation.topic }}</p> <td>{{ period.lesson.teacher_names }}</td>
</tr>
<tr>
<th>{% trans "Lesson Topic" %}</th>
<td>{{ period.get_lesson_documentation.topic }}</td>
</tr>
</table>
</a> </a>
{% endfor %} {% endfor %}
</div> </div>
......
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