From 40fc5082946efe52c80e8ec5265ab256717ede62 Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Sun, 13 Jun 2021 11:01:51 +0200 Subject: [PATCH] Update widget alert to the new syntax --- aleksis/apps/chronos/templates/chronos/widget.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/aleksis/apps/chronos/templates/chronos/widget.html b/aleksis/apps/chronos/templates/chronos/widget.html index 7c4e112b..acc6b990 100644 --- a/aleksis/apps/chronos/templates/chronos/widget.html +++ b/aleksis/apps/chronos/templates/chronos/widget.html @@ -13,14 +13,12 @@ {% if has_plan %} {% include "chronos/partials/lessons_col.html" with lesson_periods=lesson_periods %} {% else %} - <div class="alert warning"> - <p> - <i class="material-icons left">info</i> - {% blocktrans %} - There is no timetable linked to your person. - {% endblocktrans %} - </p> - </div> + <figure class="alert warning"> + <i class="material-icons left">info</i> + {% blocktrans %} + There is no timetable linked to your person. + {% endblocktrans %} + </figure> {% endif %} </div> </div> -- GitLab