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
75facb7a
Unverified
Commit
75facb7a
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Implement room display.
parent
9ee87398
No related branches found
No related tags found
1 merge request
!1
Add templates for timetable. Advances #1.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biscuit/apps/chronos/templates/chronos/tt_day.html
+1
-1
1 addition, 1 deletion
biscuit/apps/chronos/templates/chronos/tt_day.html
biscuit/apps/chronos/templates/chronos/tt_lesson.html
+4
-5
4 additions, 5 deletions
biscuit/apps/chronos/templates/chronos/tt_lesson.html
with
5 additions
and
6 deletions
biscuit/apps/chronos/templates/chronos/tt_day.html
+
1
−
1
View file @
75facb7a
...
...
@@ -8,7 +8,7 @@
{% for lesson_period in lesson_periods %}
<div
class=
"row"
>
<div
class=
"col-sm"
>
{% include "chronos/tt_lesson.html" with lesson=lesson_period
.lesson
%}
{% include "chronos/tt_lesson.html" with lesson
_period
=lesson_period %}
</div>
</div>
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
biscuit/apps/chronos/templates/chronos/tt_lesson.html
+
4
−
5
View file @
75facb7a
...
...
@@ -2,23 +2,22 @@
<div
class=
"card-body"
>
<div
class=
"row"
>
<div
class=
"col-sm"
>
<span
class=
"card-title"
>
{{ lesson.subject.abbrev }}
</span>
<span
class=
"card-title"
>
{{
lesson_period.
lesson.subject.abbrev }}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm"
>
{% for group in lesosn.groups %}
{% for group in
lesson_period.
lesosn.groups %}
<span
class=
"card-text"
>
{{ group.short_name }}
</span>
{% endfor %}
</div>
<div
class=
"col-sm"
>
{% for teacher in lesosn.teachers %}
{% for teacher in
lesson_period.
lesosn.teachers %}
<span
class=
"card-text"
>
{{ teacher.short_name }}
</span>
{% endfor %}
</div>
<div
class=
"col-sm"
>
{# FIXME really add room information #}
<span
class=
"card-text"
>
Room
</span>
<span
class=
"card-text"
>
{{ lesson_period.room.short_name }}
</span>
</div>
</div>
</div>
...
...
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