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
d054834d
Verified
Commit
d054834d
authored
3 years ago
by
Julian
Committed by
Jonathan Weth
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move tabs into navbar
(cherry picked from commit
568ffb77
)
parent
82a9a66f
No related branches found
Branches containing commit
No related tags found
1 merge request
!246
Prepare release 2.0rc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+29
-15
29 additions, 15 deletions
...s/alsijil/templates/alsijil/class_register/week_view.html
with
29 additions
and
15 deletions
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+
29
−
15
View file @
d054834d
...
...
@@ -11,6 +11,35 @@
<link
rel=
"stylesheet"
href=
"{% static 'css/alsijil/week_view.css' %}"
/>
{% endblock %}
{% block nav_content %}
{% if lesson_periods %}
<div
class=
""
>
<ul
class=
"tabs tabs-transparent tabs-icons tabs-fixed-width"
>
<li
class=
"tab col"
>
<a
class=
"active"
href=
"#week-overview"
>
<i
class=
"material-icons"
>
speaker_notes
</i>
{% trans "Lesson documentations" %}
</a>
</li>
<li
class=
"tab col"
>
<a
href=
"#personal-notes"
>
<i
class=
"material-icons"
>
people
</i>
{% trans "Persons" %}
</a>
</li>
{% if group_roles %}
<li
class=
"tab col"
>
<a
href=
"#group-roles"
>
<i
class=
"material-icons"
>
assignment_ind
</i>
{% trans "Group roles" %}
</a>
</li>
{% endif %}
</ul>
</div>
{% endif %}
{% endblock %}
{% block content %}
<script
type=
"text/javascript"
src=
"{% static "
js
/
helper.js
"
%}"
></script>
{{ week_select|json_script:"week_select" }}
...
...
@@ -63,21 +92,6 @@
{% if lesson_periods %}
<div
class=
"row"
>
<div
class=
"col s12"
>
<ul
class=
"tabs"
>
<li
class=
"tab col"
>
<a
class=
"active"
href=
"#week-overview"
>
{% trans "Lesson documentations" %}
</a>
</li>
<li
class=
"tab col"
>
<a
href=
"#personal-notes"
>
{% trans "Personal notes" %}
</a>
</li>
{% if group_roles %}
<li
class=
"tab col"
>
<a
href=
"#group-roles"
>
{% trans "Group roles" %}
</a>
</li>
{% endif %}
</ul>
</div>
<div
class=
"col s12"
id=
"week-overview"
>
{% for weekday, objects in regrouped_objects.items %}
{% with weekdays|get_dict:objects.0.weekday as advanced_weekday %}
...
...
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