diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index f1e19b6e5f52d0dcb55b0c2c26c87f2ac6768f6e..160b453853f361059918a9d586a29e8e9d3ab83e 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -34,9 +34,11 @@ <section class="container dashboard"> - <section class="dashboard-banner"> - ${message} - </section> + %if message: + <section class="dashboard-banner"> + ${message} + </section> + %endif <section class="profile-sidebar"> <header class="profile">