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
Merge requests
!80
Resolve "Add student view with further information"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add student view with further information"
93-add-students-list-and-view-with-further-information
into
master
Overview
7
Commits
11
Pipelines
5
Changes
2
2 unresolved threads
Hide all comments
Merged
Jonathan Weth
requested to merge
93-add-students-list-and-view-with-further-information
into
master
4 years ago
Overview
7
Commits
11
Pipelines
5
Changes
2
2 unresolved threads
Hide all comments
Expand
Closes
#93 (closed)
Closes
#92 (closed)
Edited
4 years ago
by
Jonathan Weth
0
0
Merge request reports
Viewing commit
af3dcfb3
Prev
Next
Show latest version
2 files
+
3
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Verified
af3dcfb3
Use weekday_to_date instead of period_to_date everywhere
· af3dcfb3
Jonathan Weth
authored
4 years ago
aleksis/apps/alsijil/templates/alsijil/class_register/person.html
+
2
−
3
Options
@@ -20,7 +20,7 @@
<ul
class=
"collection"
>
{% for note in unexcused_absences %}
{%
period
_to_date note.week note.lesson_period.period as note_date %}
{%
weekday
_to_date note.
calendar_
week note.lesson_period.period
.weekday
as note_date %}
<li
class=
"collection-item"
>
<form
action=
""
method=
"post"
class=
"right"
style=
"margin-top: -7px;"
>
{% csrf_token %}
@@ -63,8 +63,7 @@
<strong>
{% blocktrans with week=note.week %}Week {{ week }}{% endblocktrans %}
</strong>
</li>
{% endifchanged %}
{% period_to_date note.week note.lesson_period.period as note_date %}
{% weekday_to_date note.calendar_week note.lesson_period.period.weekday as note_date %}
{% ifchanged note_date %}
<li
class=
"collection-item"
>
<form
action=
""
method=
"post"
class=
"right"
style=
"margin-top: -7px;"
>
Loading