diff --git a/aleksis/apps/alsijil/templates/alsijil/absences/register_confirm.html b/aleksis/apps/alsijil/templates/alsijil/absences/register_confirm.html index 449276cdc9781d2a5760e823e882e7582292eac9..dc069357060d16e16983d7e913c9881e9e394537 100644 --- a/aleksis/apps/alsijil/templates/alsijil/absences/register_confirm.html +++ b/aleksis/apps/alsijil/templates/alsijil/absences/register_confirm.html @@ -21,15 +21,13 @@ <i class="material-icons left">date_range</i> {{ 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 %} - <div class="alert warning"> - <div> - <i class="material-icons left">warning</i> - {% blocktrans %} - As the length of this absence is longer than one day, - please double check the correctness of your entry. - {% endblocktrans %} - </div> - </div> + <figure class="alert warning"> + <i class="material-icons left">warning</i> + {% blocktrans %} + As the length of this absence is longer than one day, + please double check the correctness of your entry. + {% endblocktrans %} + </figure> {% endif %} </div> <div class="collection-item"> diff --git a/aleksis/apps/alsijil/templates/alsijil/excuse_type/warning.html b/aleksis/apps/alsijil/templates/alsijil/excuse_type/warning.html index d90d2e8205b1c91c18e74e02654fde3daebc4971..9ff8af6e9c6f3c2e81970e40067a82c772e5c54c 100644 --- a/aleksis/apps/alsijil/templates/alsijil/excuse_type/warning.html +++ b/aleksis/apps/alsijil/templates/alsijil/excuse_type/warning.html @@ -1,10 +1,8 @@ {% load i18n %} -<div class="alert warning"> - <p> - <i class="material-icons left">warning</i> - {% blocktrans %} - 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. - {% endblocktrans %} - </p> -</div> +<figure class="alert warning"> + <i class="material-icons left">warning</i> + {% blocktrans %} + 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. + {% endblocktrans %} +</figure> diff --git a/aleksis/apps/alsijil/templates/alsijil/group_role/partials/assigned_roles.html b/aleksis/apps/alsijil/templates/alsijil/group_role/partials/assigned_roles.html index 349cd940cacbb9a8cc0ed19c277a1e08220877ce..fddec1113e80669262402327a7ba3ff23fa45373 100644 --- a/aleksis/apps/alsijil/templates/alsijil/group_role/partials/assigned_roles.html +++ b/aleksis/apps/alsijil/templates/alsijil/group_role/partials/assigned_roles.html @@ -36,12 +36,10 @@ {% endfor %} </div> -<div class="alert primary"> - <div> - <i class="material-icons left">info</i> - {% blocktrans %} - You can get some additional actions for each group role assignment if you click on the name of the - corresponding person. - {% endblocktrans %} - </div> -</div> \ No newline at end of file +<figure class="alert primary"> + <i class="material-icons left">info</i> + {% blocktrans %} + You can get some additional actions for each group role assignment if you click on the name of the + corresponding person. + {% endblocktrans %} +</figure> \ No newline at end of file diff --git a/aleksis/apps/alsijil/templates/alsijil/group_role/warning.html b/aleksis/apps/alsijil/templates/alsijil/group_role/warning.html index d90d2e8205b1c91c18e74e02654fde3daebc4971..9ff8af6e9c6f3c2e81970e40067a82c772e5c54c 100644 --- a/aleksis/apps/alsijil/templates/alsijil/group_role/warning.html +++ b/aleksis/apps/alsijil/templates/alsijil/group_role/warning.html @@ -1,10 +1,8 @@ {% load i18n %} -<div class="alert warning"> - <p> - <i class="material-icons left">warning</i> - {% blocktrans %} - 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. - {% endblocktrans %} - </p> -</div> +<figure class="alert warning"> + <i class="material-icons left">warning</i> + {% blocktrans %} + 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. + {% endblocktrans %} +</figure> diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/persons_with_stats.html b/aleksis/apps/alsijil/templates/alsijil/partials/persons_with_stats.html index ea78cc7eb904c07cc151e7e23584120941d04704..404705dfbc3fe7cb4d6cfde5561ed2f3fb82de13 100644 --- a/aleksis/apps/alsijil/templates/alsijil/partials/persons_with_stats.html +++ b/aleksis/apps/alsijil/templates/alsijil/partials/persons_with_stats.html @@ -1,12 +1,10 @@ {% load data_helpers time_helpers i18n rules %} {% if not persons %} - <div class="alert primary"> - <div> - <i class="material-icons left">warning</i> - {% blocktrans %}No students available.{% endblocktrans %} - </div> - </div> + <figure class="alert primary"> + <i class="material-icons left">warning</i> + {% blocktrans %}No students available.{% endblocktrans %} + </figure> {% else %} <table class="highlight responsive-table"> <thead>