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
!422
Resolve "Add export functionality to course book"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add export functionality to course book"
258-add-export-functionality-to-course-book
into
master
Overview
45
Commits
105
Pipelines
47
Changes
2
Merged
permcu
requested to merge
258-add-export-functionality-to-course-book
into
master
5 months ago
Overview
4
Commits
105
Pipelines
47
Changes
2
Expand
Closes
#258 (closed)
0
0
Merge request reports
Viewing commit
9c422c5b
Prev
Next
Show latest version
2 files
+
21
−
30
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
9c422c5b
Adapt the register_abbreviations to the new datamodel
· 9c422c5b
permcu
authored
5 months ago
aleksis/apps/alsijil/templates/alsijil/partials/register_abbreviations.html
+
15
−
30
Options
<h4>
{% trans "Abbreviations" %}
</h4>
<h5>
{% trans "General" %}
</h5>
<ul
class=
"collection"
>
<li
class=
"collection-item"
>
<strong>
(a)
</strong>
{% trans "Absent" %}
</li>
<li
class=
"collection-item"
>
<strong>
(b)
</strong>
{% trans "Late" %}
</li>
<li
class=
"collection-item"
>
<strong>
(u)
</strong>
{% trans "Unexcused" %}
</li>
<li
class=
"collection-item"
>
<strong>
(e)
</strong>
{% trans "Excused" %}
</li>
</ul>
{% if excuse_types %}
<h5>
{% trans "Custom excuse types" %}
</h5>
{% if absence_reasons %}
<h5>
{% trans "Absence reasons" %}
</h5>
<ul
class=
"collection"
>
{% for excuse_type in excuse_types %}
<li
class=
"collection-item"
>
<strong>
({{ excuse_type.short_name }})
</strong>
{{ excuse_type.name }}
</li>
{% for absence_reason in absence_reasons %}
{% if absence_reason.count_as_absent %}
Jonathan Weth
@hansegucker
commented on commit
9c422c5b
4 months ago
Owner
ALL!
Collapse replies
P
permcu
@permcu
·
4 months ago
Author
Developer
Please have another look. This is an older diff.
Please
register
or
sign in
to reply
Please
register
or
sign in
to reply
<li
class=
"collection-item"
>
<strong>
({{ absence_reason.short_name }})
</strong>
{{ absence_reason.name }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% if excuse_types_not_absent %}
<h5>
{% trans "Custom excuse types (not counted as absent)" %}
</h5>
<h5>
{% trans "Absence reasons (not counted as absent)" %}
</h5>
<ul
class=
"collection"
>
{% for excuse_type in excuse_types_not_absent %}
<li
class=
"collection-item"
>
<strong>
({{ excuse_type.short_name }})
</strong>
{{ excuse_type.name }}
</li>
{% for absence_reason in absence_reasons %}
{% if not absence_reason.count_as_absent %}
<li
class=
"collection-item"
>
<strong>
({{ absence_reason.short_name }})
</strong>
{{ absence_reason.name }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
Loading
ALL!
Please have another look. This is an older diff.