Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
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-Chronos
Commits
6f480656
Commit
6f480656
authored
5 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Show class teacher and deputy class teacher on plan views
closes #331
parent
0907d6de
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/apps/chronos/templates/timetable/plan.html
+22
-0
22 additions, 0 deletions
biscuit/apps/chronos/templates/timetable/plan.html
with
22 additions
and
0 deletions
biscuit/apps/chronos/templates/timetable/plan.html
+
22
−
0
View file @
6f480656
...
...
@@ -43,6 +43,28 @@
<h3>
Stundenplan
<i>
{{ el }}
</i>
</h3>
{# Show class teacher and deputy class teacher #}
{% if type == 2 and el.teachers %}
<h6>
Klassenlehrkraft:
<span
data-position=
"bottom"
class=
"tooltipped"
data-tooltip=
"{{ el.teachers.0 }}"
>
<a
href=
"{% url "
timetable_smart_plan
"
"
teacher
"
el.teachers.0.id
%}"
>
{{ el.teachers.0.shortcode }}
</a>
</span>
{# {{ el.teachers.0.shortcode }}#}
{% if el.teachers.1 %}
· Vertretung:
<span
data-position=
"bottom"
class=
"tooltipped"
data-tooltip=
"{{ el.teachers.1 }}"
>
<a
href=
"{% url "
timetable_smart_plan
"
"
teacher
"
el.teachers.1.id
%}"
>
{{ el.teachers.1.shortcode }}
</a>
</span>
{% endif %}
</h6>
{% endif %}
</div>
{# Show print button only if not on mobile #}
<div
class=
"col s4 m6 l4 xl3 right align-right no-print"
>
...
...
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