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
!203
Resolve "Use correct semantic html elements"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Use correct semantic html elements"
168-use-correct-semantic-html-elements
into
master
Overview
2
Commits
4
Pipelines
3
Changes
3
All threads resolved!
Hide all comments
Merged
Julian
requested to merge
168-use-correct-semantic-html-elements
into
master
3 years ago
Overview
2
Commits
4
Pipelines
3
Changes
3
All threads resolved!
Hide all comments
Expand
Closes
#168 (closed)
Edited
3 years ago
by
Julian
0
0
Merge request reports
Viewing commit
de923a13
Prev
Next
Show latest version
3 files
+
32
−
31
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
de923a13
Use semantically correct heading levels
· de923a13
Julian
authored
3 years ago
aleksis/apps/alsijil/templates/alsijil/class_register/lesson.html
+
28
−
27
Options
@@ -10,39 +10,40 @@
{% endblock %}
{% block content %}
{% if next_lesson_person or prev_lesson_person or lesson_documentation %}
<div
class=
"row no-margin"
>
<div
class=
"col s12 no-padding"
>
{# Back to week view #}
{% if back_to_week_url %}
<a
href=
"{{ back_to_week_url }}"
class=
"btn primary-color waves-light waves-effect alsijil-top-button"
>
<i
class=
"material-icons left"
>
chevron_left
</i>
{% trans "Back to week view" %}
</a>
{% endif %}
{# Next lesson #}
{% if prev_lesson_person %}
<a
class=
"btn primary waves-effect waves-light alsijil-top-button"
href=
"{% url "
lesson_period
"
prev_lesson_person.week.year
prev_lesson_person.week.week
prev_lesson_person.id
%}"
>
<h1>
{% if next_lesson_person or prev_lesson_person or lesson_documentation %}
<div
class=
"row no-margin"
>
<div
class=
"col s12 no-padding"
>
{# Back to week view #}
{% if back_to_week_url %}
<a
href=
"{{ back_to_week_url }}"
class=
"btn primary-color waves-light waves-effect alsijil-top-button"
>
<i
class=
"material-icons left"
>
chevron_left
</i>
{% trans "Back to week view" %}
</a>
{% endif %}
{# Next lesson #}
{% if prev_lesson_person %}
<a
class=
"btn primary waves-effect waves-light alsijil-top-button"
href=
"{% url "
lesson_period
"
prev_lesson_person.week.year
prev_lesson_person.week.week
prev_lesson_person.id
%}"
>
<i
class=
"material-icons left"
>
arrow_back
</i>
{% trans "My previous lesson" %}
</a>
{% endif %}
</a>
{% endif %}
{# Previous lesson #}
{% if next_lesson_person %}
<a
class=
"btn primary right waves-effect waves-light alsijil-top-button"
href=
"{% url "
lesson_period
"
next_lesson_person.week.year
next_lesson_person.week.week
next_lesson_person.id
%}"
>
{# Previous lesson #}
{% if next_lesson_person %}
<a
class=
"btn primary right waves-effect waves-light alsijil-top-button"
href=
"{% url "
lesson_period
"
next_lesson_person.week.year
next_lesson_person.week.week
next_lesson_person.id
%}"
>
<i
class=
"material-icons right"
>
arrow_forward
</i>
{% trans "My next lesson" %}
</a>
{% endif %}
</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endif %}
<h4>
{% if register_object.label_ == "event" %}
{{ register_object.date_start }} {{ register_object.period_from.period }}.–{{ register_object.date_end }}
{{ register_object.period_to.period }}.,
@@ -63,7 +64,7 @@
<span
class=
"right"
>
{% include "alsijil/partials/lesson_status_icon.html" with register_object=register_object css_class="medium" %}
</span>
</h
4
>
</h
1
>
<br/>
{% has_perm "alsijil.view_lessondocumentation_rule" user register_object as can_view_lesson_documentation %}
Loading