ui: Don't show breadcrumbs in login and first wizard pages

- It was never intended that breadcrumbs be shown in these pages.

Tests:

- When running first wizard, the busy page, the welcome page, user account
create page, and the next steps page are all shown without breadcrumbs. Same for
login page.

- Other pages which had breadcrumbs earlier continue to show them, that is, app
pages, system pages, help pages, and pages under those.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-12-27 20:30:52 -08:00 committed by Veiko Aasa
parent c17ef22bd8
commit 526c5354aa
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
4 changed files with 12 additions and 1 deletions

View File

@ -15,6 +15,9 @@ no-brand
{% block notifications_dropdown %}
{% endblock %}
{% block breadcrumbs %}
{% endblock %}
{% block mainmenu_toggler %}
{% if user.is_authenticated %}
{{ block.super }}

View File

@ -6,6 +6,9 @@
{% load bootstrap %}
{% load i18n %}
{% block breadcrumbs %}
{% endblock %}
{% block content %}
<h2>{% trans "Setup Complete! Next Steps:" %}</h2>

View File

@ -6,6 +6,9 @@
{% load bootstrap %}
{% load i18n %}
{% block breadcrumbs %}
{% endblock %}
{% block content %}
<form class="form form-login" method="post">

View File

@ -252,7 +252,9 @@
{% block content_row %}
{% include 'messages.html' %}
{% include 'breadcrumbs.html' %}
{% block breadcrumbs %}
{% include 'breadcrumbs.html' %}
{% endblock %}
{% block content %}
{# main content goes here #}