Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
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-Alsijil
Commits
67303103
Commit
67303103
authored
3 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Remove old mobile view
parent
66d10d95
No related branches found
No related tags found
1 merge request
!236
Resolve "Improve week view for mobile devices (size s)"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+2
-49
2 additions, 49 deletions
...s/alsijil/templates/alsijil/class_register/week_view.html
with
2 additions
and
49 deletions
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+
2
−
49
View file @
67303103
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
</table>
</table>
</div>
</div>
</div>
</div>
<ul
class=
"collapsible hide-on-extra-large-only"
>
<ul
class=
"collapsible hide-on-extra-large-only
hide-on-small-only
"
>
<li
class=
""
>
<li
class=
""
>
<div
class=
"collapsible-header flow-text"
>
<div
class=
"collapsible-header flow-text"
>
{{ advanced_weekday.name }}, {{ advanced_weekday.date }}
<i
{{ advanced_weekday.name }}, {{ advanced_weekday.date }}
<i
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
<a
class=
"collection-item avatar"
<a
class=
"collection-item avatar"
href=
"{{ register_object.alsijil_url }}?back={{ back_url }}"
>
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=" " %}
{% 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>
<tr>
<th>
{% trans "Subject" %}
</th>
<th>
{% trans "Subject" %}
</th>
<td>
<td>
...
@@ -252,53 +252,6 @@
...
@@ -252,53 +252,6 @@
{% endif %}
{% endif %}
{% endwith %}
{% endwith %}
</table>
</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>
</a>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
Julian
@ZugBahnHof
mentioned in commit
eda2a13c
·
3 years ago
mentioned in commit
eda2a13c
mentioned in commit eda2a13ce0fa091e62b63085128b03469d4bfec0
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment