Skip to content
Snippets Groups Projects
Commit 7e2a56da authored by Julian's avatar Julian
Browse files

Use new alert syntax

parent de923a13
No related branches found
No related tags found
1 merge request!203Resolve "Use correct semantic html elements"
Pipeline #17185 passed
...@@ -21,15 +21,13 @@ ...@@ -21,15 +21,13 @@
<i class="material-icons left">date_range</i> <i class="material-icons left">date_range</i>
{{ form_data.date_start }}, {{ form_data.from_period }}. – {{ form_data.date_end }}, {{ form_data.to_period }}. {{ form_data.date_start }}, {{ form_data.from_period }}. – {{ form_data.date_end }}, {{ form_data.to_period }}.
{% if form_data.date_start != form_data.date_end %} {% if form_data.date_start != form_data.date_end %}
<div class="alert warning"> <figure class="alert warning">
<div> <i class="material-icons left">warning</i>
<i class="material-icons left">warning</i> {% blocktrans %}
{% blocktrans %} As the length of this absence is longer than one day,
As the length of this absence is longer than one day, please double check the correctness of your entry.
please double check the correctness of your entry. {% endblocktrans %}
{% endblocktrans %} </figure>
</div>
</div>
{% endif %} {% endif %}
</div> </div>
<div class="collection-item"> <div class="collection-item">
......
{% load i18n %} {% load i18n %}
<div class="alert warning"> <figure class="alert warning">
<p> <i class="material-icons left">warning</i>
<i class="material-icons left">warning</i> {% blocktrans %}
{% blocktrans %} This function should only be used to define alternatives to the default excuse which also will be counted extra.
This function should only be used to define alternatives to the default excuse which also will be counted extra. Don't use this to create a default excuse or if you don't divide between different types of excuse.
Don't use this to create a default excuse or if you don't divide between different types of excuse. {% endblocktrans %}
{% endblocktrans %} </figure>
</p>
</div>
...@@ -36,12 +36,10 @@ ...@@ -36,12 +36,10 @@
{% endfor %} {% endfor %}
</div> </div>
<div class="alert primary"> <figure class="alert primary">
<div> <i class="material-icons left">info</i>
<i class="material-icons left">info</i> {% blocktrans %}
{% blocktrans %} You can get some additional actions for each group role assignment if you click on the name of the
You can get some additional actions for each group role assignment if you click on the name of the corresponding person.
corresponding person. {% endblocktrans %}
{% endblocktrans %} </figure>
</div> \ No newline at end of file
</div>
\ No newline at end of file
{% load i18n %} {% load i18n %}
<div class="alert warning"> <figure class="alert warning">
<p> <i class="material-icons left">warning</i>
<i class="material-icons left">warning</i> {% blocktrans %}
{% blocktrans %} This function should only be used to define alternatives to the default excuse which also will be counted extra.
This function should only be used to define alternatives to the default excuse which also will be counted extra. Don't use this to create a default excuse or if you don't divide between different types of excuse.
Don't use this to create a default excuse or if you don't divide between different types of excuse. {% endblocktrans %}
{% endblocktrans %} </figure>
</p>
</div>
{% load data_helpers time_helpers i18n rules %} {% load data_helpers time_helpers i18n rules %}
{% if not persons %} {% if not persons %}
<div class="alert primary"> <figure class="alert primary">
<div> <i class="material-icons left">warning</i>
<i class="material-icons left">warning</i> {% blocktrans %}No students available.{% endblocktrans %}
{% blocktrans %}No students available.{% endblocktrans %} </figure>
</div>
</div>
{% else %} {% else %}
<table class="highlight responsive-table"> <table class="highlight responsive-table">
<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