quick solution for external recipe nav

This commit is contained in:
vabene1111
2021-09-13 21:51:24 +02:00
parent 0c3dcf143f
commit 6f44ad760c
3 changed files with 16 additions and 20 deletions

View File

@@ -8,6 +8,15 @@
{% block content %}
{% if request.resolver_match.url_name in 'list_storage,list_recipe_import,list_sync_log' %}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'data_sync' %}">{% trans 'External Recipes' %}</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ title }}</li>
</ol>
</nav>
{% endif %}
<div class="table-container">
<h3 style="margin-bottom: 2vh">{{ title }} {% trans 'List' %}
{% if create_url %}