Skip to content
Snippets Groups Projects
Commit 3174dec7 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge remote-tracking branch 'origin/dev' into dev

parents 7a2c6439 1698d32d
No related branches found
No related tags found
No related merge requests found
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
{% endif %} {% endif %}
{{ hints_b|length }} {{ hints_b|length }}
{% if hints %} {% if hints %}
weitere(n) weitere{{ hints_b|pluralize:"n," }}
{% endif %} {% endif %}
Hinweis(e). Hinweis{{ hints_b|pluralize:"e" }}.
<i class="material-icons right collapsible-trigger"></i> <i class="material-icons right collapsible-trigger"></i>
</div> </div>
</div> </div>
...@@ -50,12 +50,10 @@ ...@@ -50,12 +50,10 @@
{% if not hint.teachers %} {% if not hint.teachers %}
<div> <div>
<strong> <strong>
{{ hint.classes.all|join:", " }}, {{ hint.classes_formatted }},
</strong> </strong>
{{ hint.from_date|date:"D, d.m." }}, {{ hint.from_date|date:"D, d.m." }}{% if hint.from_date != hint.to_date %}, bis
{% if hint.from_date != hint.to_date %} {{ hint.to_date|date:"D, d.m." }}{% endif %}:
bis {{ hint.to_date|date:"D, d.m." }}
{% endif %}:
{{ hint.text|safe_markdown }} {{ hint.text|safe_markdown }}
</div> </div>
{% endif %} {% endif %}
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<li> <li>
<div class="collapsible-header " style="font-size: 16px;"> <div class="collapsible-header " style="font-size: 16px;">
<div class="col s12"> <div class="col s12">
<i class="material-icons left">announcement</i>Es gibt {{ hints|length }} Hinweis(e) für diesen Tag. <i class="material-icons left">announcement</i>Es gibt {{ hints|length }}
Hinweis{{ hints|pluralize:"e" }} für diesen Tag.
<i class="material-icons right collapsible-trigger"></i> <i class="material-icons right collapsible-trigger"></i>
</div> </div>
</div> </div>
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
{% for hint in hints %} {% for hint in hints %}
<div> <div>
<strong> <strong>
{{ hint.classes.all|join:", " }}{% if hint.teachers and hint.classes.all %},{% endif %} {{ hint.classes_formatted }}{% if hint.teachers and hint.classes.all %},{% endif %}
</strong> </strong>
{% if hint.teachers %} {% if hint.teachers %}
<span class="badge new green no-float no-margin">Lehrkräfte</span> <span class="badge new green no-float no-margin">Lehrkräfte</span>
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<main> <main>
<div class="row no-margin"> <div class="row no-margin">
<div class="col s12 m6"> <div class="col s10 m6">
<h4>Vertretungen</h4> <h4>Vertretungen</h4>
</div> </div>
<div class="col s12 m6 right align-right"> <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"
href=" href="
{% if debug %} {% if debug %}
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
{% for row in header_info.rows %} {% for row in header_info.rows %}
<div class="row no-margin"> <div class="row no-margin">
<div class="col s3"> <div class="col s3">
<strong>{{ row.0 }}</strong> <strong class="truncate">{{ row.0 }}</strong>
</div> </div>
<div class="col s9"> <div class="col s9">
{{ row.1 }} {{ row.1 }}
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div> </div>
</div> </div>
<h5>{{ date|date:"l, j. F Y" }}</h5> <h5 class="hide-on-small-and-down">{{ date|date:"l, j. F Y" }}</h5>
<table class="substitutions striped"> <table class="substitutions striped">
<thead> <thead>
......
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