Skip to content
Snippets Groups Projects
Commit 053fedbd authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'prepare-release-2.0rc1' into 'release/2.0'

Prepare release 2.0rc1

See merge request !188
parents 36dc8e44 df244f02
No related branches found
No related tags found
1 merge request!188Prepare release 2.0rc1
Pipeline #18844 passed
...@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. ...@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_, The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_. and this project adheres to `Semantic Versioning`_.
`2.0rc1`_ - 2021-06-23
----------------------
Changed
~~~~~~~
* Use semantically correct html elements for headings and alerts.
`2.0b3`_ - 2021-06-16 `2.0b3`_ - 2021-06-16
---------- ----------
...@@ -178,3 +186,4 @@ Fixed ...@@ -178,3 +186,4 @@ Fixed
.. _2.0b1: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b1 .. _2.0b1: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b1
.. _2.0b2: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b2 .. _2.0b2: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b2
.. _2.0b3: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b3 .. _2.0b3: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b3
.. _2.0rc1: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0rc1
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{% block content %} {% block content %}
<div class="row"> <div class="row">
<div class="col s12 m4"> <div class="col s12 m4">
<h5>{% trans "Teachers" %}</h5> <h2>{% trans "Teachers" %}</h2>
{% for teacher in teachers %} {% for teacher in teachers %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch primary" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</div> </div>
<div class="col s12 m4"> <div class="col s12 m4">
<h5>{% trans "Groups" %}</h5> <h2>{% trans "Groups" %}</h2>
{% for class in classes %} {% for class in classes %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch primary" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
<div class="col s12 m4"> <div class="col s12 m4">
<h5>{% trans "Rooms" %}</h5> <h2>{% trans "Rooms" %}</h2>
{% for room in rooms %} {% for room in rooms %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch primary" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<div class="row no-margin"> <div class="row no-margin">
<div class="col s12 m6 l8 no-padding"> <div class="col s12 m6 l8 no-padding">
<h4>{% blocktrans %}Lessons{% endblocktrans %} {{ day|date:"l" }}, {{ day }}</h4> <h1>{% blocktrans %}Lessons{% endblocktrans %} {{ day|date:"l" }}, {{ day }}</h1>
</div> </div>
<div class="col s12 m6 l4 no-padding"> <div class="col s12 m6 l4 no-padding">
{% include "chronos/partials/datepicker.html" %} {% include "chronos/partials/datepicker.html" %}
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
{% block content %} {% block content %}
<div class="row no-margin"> <div class="row no-margin">
<div class="col s12"> <div class="col s12">
<h4> <h1>
{% trans "My timetable" %} <i>{{ el }}</i> {% trans "My timetable" %} <i>{{ el }}</i>
<span class="badge new primary-color ">{% trans "SMART PLAN" %}</span> <span class="badge new primary-color ">{% trans "SMART PLAN" %}</span>
</h4> </h1>
<a class="btn-flat waves-effect waves-light" href="{% url "timetable" super.type.value super.el.pk %}"> <a class="btn-flat waves-effect waves-light" href="{% url "timetable" super.type.value super.el.pk %}">
{% trans "Show week timetable for" %} {{ super.el.short_name }} {% trans "Show week timetable for" %} {{ super.el.short_name }}
</a> </a>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{% block content %} {% block content %}
<div class="row no-margin"> <div class="row no-margin">
<div class="col s10 m6 no-padding"> <div class="col s10 m6 no-padding">
<h4>{% trans "Substitutions" %}</h4> <h1>{% trans "Substitutions" %}</h1>
</div> </div>
<div class="col s2 m6 right align-right print-icon"> <div class="col s2 m6 right align-right print-icon">
<a class="waves-effect waves-teal btn-flat btn-flat-medium right" <a class="waves-effect waves-teal btn-flat btn-flat-medium right"
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</div> </div>
</div> </div>
<h5 class="hide-on-small-and-down">{{ day|date:"l" }}, {{ day }}</h5> <h2 class="hide-on-small-and-down">{{ day|date:"l" }}, {{ day }}</h2>
<table class="substitutions striped responsive-table"> <table class="substitutions striped responsive-table">
<thead> <thead>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
{% endblock %} {% endblock %}
{% block browser_title %}{% blocktrans %}Timetable{% endblocktrans %}{% endblock %} {% block browser_title %}{% blocktrans %}Timetable{% endblocktrans %}{% endblock %}
{% block no_page_title %}{% endblock %}
{% block content %} {% block content %}
{% if smart %} {% if smart %}
...@@ -19,20 +20,20 @@ ...@@ -19,20 +20,20 @@
<div class="row no-margin"> <div class="row no-margin">
<div class="col s8 m6 l8 xl9"> <div class="col s8 m6 l8 xl9">
<h4> <h1>
{% trans "Timetable" %} <i>{{ el }}</i> {% trans "Timetable" %} <i>{{ el }}</i>
</h4> </h1>
{# Show class teacher and deputy class teacher #} {# Show class teacher and deputy class teacher #}
{% if type.value == "group" and el.owners.all %} {% if type.value == "group" and el.owners.all %}
<h5>{% trans "Group teachers:" %} <h2>{% trans "Group teachers:" %}
{% for teacher in el.owners.all %} {% for teacher in el.owners.all %}
<span data-position="bottom" class="tooltipped" <span data-position="bottom" class="tooltipped"
data-tooltip="{{ teacher }}"> data-tooltip="{{ teacher }}">
<a href="{% url "timetable" "teacher" teacher.pk %}"> <a href="{% url "timetable" "teacher" teacher.pk %}">
{{ teacher.short_name }}</a></span>{% if not forloop.last %},{% endif %} {{ teacher.short_name }}</a></span>{% if not forloop.last %},{% endif %}
{% endfor %} {% endfor %}
</h5> </h2>
{% endif %} {% endif %}
</div> </div>
<div class="col s4 m6 l4 xl3 right align-right no-print"> <div class="col s4 m6 l4 xl3 right align-right no-print">
......
...@@ -13,14 +13,12 @@ ...@@ -13,14 +13,12 @@
{% if has_plan %} {% if has_plan %}
{% include "chronos/partials/lessons_col.html" with lesson_periods=lesson_periods %} {% include "chronos/partials/lessons_col.html" with lesson_periods=lesson_periods %}
{% else %} {% else %}
<div class="alert warning"> <figure class="alert warning">
<p> <i class="material-icons left">info</i>
<i class="material-icons left">info</i> {% blocktrans %}
{% blocktrans %} There is no timetable linked to your person.
There is no timetable linked to your person. {% endblocktrans %}
{% endblocktrans %} </figure>
</p>
</div>
{% endif %} {% endif %}
</div> </div>
</div> </div>
......
This diff is collapsed.
[tool.poetry] [tool.poetry]
name = "AlekSIS-App-Chronos" name = "AlekSIS-App-Chronos"
version = "2.0b2" version = "2.0rc1"
packages = [ packages = [
{ include = "aleksis" } { include = "aleksis" }
] ]
...@@ -43,7 +43,7 @@ secondary = true ...@@ -43,7 +43,7 @@ secondary = true
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.9"
calendarweek = "^0.5.0" calendarweek = "^0.5.0"
aleksis-core = "^2.0b0" aleksis-core = "^2.0rc"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
aleksis-builddeps = "*" aleksis-builddeps = "*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment