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
b9fb03e6
Commit
b9fb03e6
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Do not try to renderlessonviewfor invalid lesson period.
parent
a31e644f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/apps/alsijil/templates/alsijil/lesson.html
+36
-35
36 additions, 35 deletions
biscuit/apps/alsijil/templates/alsijil/lesson.html
with
36 additions
and
35 deletions
biscuit/apps/alsijil/templates/alsijil/lesson.html
+
36
−
35
View file @
b9fb03e6
...
...
@@ -2,46 +2,47 @@
{% extends "core/base.html" %}
{% load bootstrap4 i18n %}
{% block page_title %}
{% blocktrans %}Lesson{% endblocktrans %}
{% if lesson_period %}
{% block page_title %}
{% blocktrans %}Lesson{% endblocktrans %}
-
-
{% for group in lesson_period.get_groups.all %}
<span>
{{ group.short_name }}
</span>
,
{% endfor %}
{% for group in lesson_period.get_groups.all %}
<span>
{{ group.short_name }}
</span>
,
{% endfor %}
{{ lesson_period.get_subject.name }},
{{ lesson_period.get_subject.name }},
{% for teacher in lesson_period.get_teachers.all %}
{{ teacher.short_name }}
{% endfor %}
{% endblock %}
{% for teacher in lesson_period.get_teachers.all %}
{{ teacher.short_name }}
{% endfor %}
{% endblock %}
{% block content %}
<div
class=
"card"
>
<div
class=
"card-header bg-light text-dark"
>
{% blocktrans %}Lesson documentation{% endblocktrans %}
{% block content %}
<div
class=
"card"
>
<div
class=
"card-header bg-light text-dark"
>
{% blocktrans %}Lesson documentation{% endblocktrans %}
</div>
<div
class=
"card-body"
>
<form
method=
"post"
>
{% csrf_token %}
{% bootstrap_form lesson_documentation_form %}
<input
type=
"hidden"
name=
"action"
value=
"lesson_documentation"
/>
<input
type=
"submit"
value=
"Update"
/>
</form>
</div>
</div>
<div
class=
"card-body"
>
<form
method=
"post"
>
{% csrf_token %}
{% bootstrap_form lesson_documentation_form %}
<input
type=
"hidden"
name=
"action"
value=
"lesson_documentation"
/>
<input
type=
"submit"
value=
"Update"
/>
</form>
</div>
</div>
<div
class=
"card"
>
<div
class=
"card-header bg-light text-dark"
>
{% blocktrans %}Personal notes{% endblocktrans %}
</div>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
This feature is still missing.
</p>
<div
class=
"card"
>
<div
class=
"card-header bg-light text-dark"
>
{% blocktrans %}Personal notes{% endblocktrans %}
</div>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
This feature is still missing.
</p>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
{% endif %}
This diff is collapsed.
Click to expand it.
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