Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Merge requests
!241
Resolve "Improve mobile design of substitution table"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Improve mobile design of substitution table"
168-improve-mobile-design-of-substitution-table
into
master
Overview
1
Commits
3
Pipelines
5
Changes
3
All threads resolved!
Hide all comments
Merged
Julian
requested to merge
168-improve-mobile-design-of-substitution-table
into
master
3 years ago
Overview
1
Commits
3
Pipelines
5
Changes
3
All threads resolved!
Hide all comments
Expand
Closes
#168 (closed)
Edited
3 years ago
by
Julian
0
0
Merge request reports
Compare
master
version 3
342a1e0f
3 years ago
version 2
a7e1f3a6
3 years ago
version 1
f46a3742
3 years ago
master (base)
and
latest version
latest version
622ff667
3 commits,
3 years ago
version 3
342a1e0f
2 commits,
3 years ago
version 2
a7e1f3a6
1 commit,
3 years ago
version 1
f46a3742
1 commit,
3 years ago
3 files
+
57
−
50
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/chronos/templates/chronos/substitutions.html
+
51
−
49
Options
@@ -37,56 +37,58 @@
<h2
class=
"hide-on-small-and-down"
>
{{ day|date:"l" }}, {{ day }}
</h2>
<table
class=
"substitutions striped responsive-table"
>
<thead>
<tr>
<th><i
class=
"material-icons"
>
people
</i></th>
<th><i
class=
"material-icons"
>
access_time
</i></th>
<th>
{% trans "Teacher" %}
</th>
<th>
{% trans "Subject" %}
</th>
<th>
{% trans "Room" %}
</th>
<th>
{% trans "Notes" %}
</th>
<th></th>
</tr>
</thead>
<tbody>
{% if not substitutions %}
<td
colspan=
"7"
>
<p
class=
"flow-text center"
>
{% blocktrans %}No substitutions available.{% endblocktrans %}
</p>
</td>
{% endif %}
{% for item in substitutions %}
<tr
class=
"{% include "
chronos
/
partials
/
subs
/
colour.html
"
with
item=
item
%}"
>
{# TODO: Extend support for purple (events) #}
<td>
{% include "chronos/partials/subs/groups.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/period.html" with type=item.type el=item.el item=item %}
</td>
<td>
{% include "chronos/partials/subs/teachers.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/subject.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/room.html" with type=item.type el=item.el %}
<div
class=
"table-container"
>
<table
class=
"substitutions striped"
>
<thead>
<tr>
<th><i
class=
"material-icons"
>
people
</i></th>
<th><i
class=
"material-icons"
>
access_time
</i></th>
<th>
{% trans "Teacher" %}
</th>
<th>
{% trans "Subject" %}
</th>
<th>
{% trans "Room" %}
</th>
<th>
{% trans "Notes" %}
</th>
<th></th>
</tr>
</thead>
<tbody>
{% if not substitutions %}
<td
colspan=
"7"
>
<p
class=
"flow-text center"
>
{% blocktrans %}No substitutions available.{% endblocktrans %}
</p>
</td>
<td>
<span
class=
"hide-on-med-and-up"
>
{% endif %}
{% for item in substitutions %}
<tr
class=
"{% include "
chronos
/
partials
/
subs
/
colour.html
"
with
item=
item
%}"
>
{# TODO: Extend support for purple (events) #}
<td>
{% include "chronos/partials/subs/groups.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/period.html" with type=item.type el=item.el item=item %}
</td>
<td>
{% include "chronos/partials/subs/teachers.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/subject.html" with type=item.type el=item.el %}
</td>
<td>
{% include "chronos/partials/subs/room.html" with type=item.type el=item.el %}
</td>
<td>
<span
class=
"hide-on-med-and-up"
>
{% include "chronos/partials/subs/badge.html" with sub=item.el %}
</span>
{% include "chronos/partials/subs/comment.html" with el=item.el %}
</td>
<td
class=
"hide-on-small-and-down"
>
{% include "chronos/partials/subs/badge.html" with sub=item.el %}
</span>
{% include "chronos/partials/subs/comment.html" with el=item.el %}
</td>
<td
class=
"hide-on-small-and-down"
>
{% include "chronos/partials/subs/badge.html" with sub=item.el %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}
Loading