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

Include hints in new dashboard

parent 48ad6eb0
No related branches found
No related tags found
No related merge requests found
{% load martortags %} {% load martortags %}
{% if hints %} {% if hints %}
{% for hint in hints %} {% for hint in hints %}
<div class="card"> <div class="alert primary">
<div class="card-content light-blue lighten-4"> <div>
<em class="right hide-on-small-and-down">Hinweis für {{ hint.from_date|date:"D, d.m." }}, <em class="right hide-on-small-and-down">Hinweis für {{ hint.from_date|date:"D, d.m." }},
{% if hint.from_date != hint.to_date %} {% if hint.from_date != hint.to_date %}
bis {{ hint.to_date|date:"D, d.m." }} bis {{ hint.to_date|date:"D, d.m." }}
{% endif %} </em> {% endif %} </em>
<i class="material-icons left">announcement</i> <i class="material-icons left">announcement</i>
{{ hint.text|safe_markdown }} {{ hint.text|safe_markdown }}
<em class="hide-on-med-and-up">Hinweis für {{ hint.from_date|date:"D, d.m." }}, <em class="hide-on-med-and-up">Hinweis für {{ hint.from_date|date:"D, d.m." }},
{% if hint.from_date != hint.to_date %} {% if hint.from_date != hint.to_date %}
bis {{ hint.to_date|date:"D, d.m." }} bis {{ hint.to_date|date:"D, d.m." }}
{% endif %} </em> {% endif %} </em>
{# {{ hint }}#}
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
......
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