From a93e734d83bbfef958671891b4f53f62131162e3 Mon Sep 17 00:00:00 2001 From: Kostiantyn Stoliarskyi Date: Fri, 5 May 2023 17:12:59 +0300 Subject: [PATCH] remove link from last element in breadcrumbs --- app/templates/book/breadcrumbs_navigation.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/templates/book/breadcrumbs_navigation.html b/app/templates/book/breadcrumbs_navigation.html index 8c2b279..091aa80 100644 --- a/app/templates/book/breadcrumbs_navigation.html +++ b/app/templates/book/breadcrumbs_navigation.html @@ -3,7 +3,11 @@
    {% for breadcrumb in breadcrumbs %}
  1. + {% if not loop.index==breadcrumbs|length %} + {% else %} + + {% endif %} {% if breadcrumb.type == "MyBookList" or breadcrumb.type == "AuthorBookList" %} @@ -13,7 +17,11 @@ {% endif %} {{ breadcrumb.label }} + {% if not loop.index==breadcrumbs|length %} + {% else %} + + {% endif %} {% if not loop.index==breadcrumbs|length %} {% endif %}