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
Merge requests
!43
Show dates in column headings in weekly timetable view
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Show dates in column headings in weekly timetable view
feature/show-dates-in-column-headings-in-timetable-view
into
master
Overview
1
Commits
2
Pipelines
0
Changes
2
Merged
Jonathan Weth
requested to merge
feature/show-dates-in-column-headings-in-timetable-view
into
master
5 years ago
Overview
1
Commits
2
Pipelines
0
Changes
2
Expand
Close
#68 (closed)
0
0
Merge request reports
Compare
master
version 1
2dbfdc76
5 years ago
master (base)
and
version 1
latest version
067bcbb3
2 commits,
5 years ago
version 1
2dbfdc76
1 commit,
5 years ago
2 files
+
22
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/chronos/templates/chronos/timetable.html
+
10
−
7
Options
@@ -124,13 +124,14 @@
</div>
{# Show short weekdays on tablets #}
{% for
day
in weekdays_short
.items
%}
{% for
i, weekday, date
in weekdays_short %}
<div
class=
"col s2 hide-on-large-only"
>
<div
class=
"card timetable-title-card"
>
<div
class=
"card-content"
>
<span
class=
"card-title"
>
{{ day
.1
}}
{{
week
day }}
</span>
{{ date }}
{# {% if day.1 %}#}
{#
<span
class=
"badge new blue center-align holiday-badge"
>
{{ day.1.0 }}
</span>
#}
{# {% endif %}#}
@@ -140,13 +141,14 @@
{% endfor %}
{# Show long weekdays elsewere #}
{% for
day
in weekdays
.items
%}
{% for
i, weekday, date
in weekdays %}
<div
class=
"col s2 hide-on-med-only"
>
<div
class=
"card timetable-title-card"
>
<div
class=
"card-content"
>
<span
class=
"card-title"
>
{{ day
.1
}}
{{
week
day }}
</span>
{{ date }}
{# {% if day.1 %}#}
{#
<span
class=
"badge new blue center-align holiday-badge"
>
{{ day.1.0 }}
</span>
#}
{# {% endif %}#}
@@ -176,12 +178,13 @@
{# show 5 seperate ones on mobiles #}
<div
class=
"timetable-plan hide-on-med-and-up"
>
{% for
day
in weekdays
.items
%}
{% for
i, weekday, date
in weekdays %}
<div
class=
"card timetable-mobile-title-card"
>
<div
class=
"card-content"
>
<span
class=
"card-title"
>
{{ day
.1
}}
{{
week
day }}
</span>
{{ date }}
{# {% if day.1 %}#}
{#
<span
class=
"badge new blue center-align holiday-badge"
>
{{ day.1.0 }}
</span>
#}
{# {% endif %}#}
@@ -195,7 +198,7 @@
</div>
{% for weekday, lessons in lesson_periods_period.items %}
{% if forloop.counter0
|add:"1" == day.0
%}
{% if forloop.counter0
== i
%}
<div
class=
"col s8"
>
{# A lesson #}
{% include "chronos/partials/lesson.html" with lessons=lessons %}
Loading