{% extends 'NCBSWBundle:General:multicolumn/header_framework.html.twig' %}{% if division is not defined %} {% set division=null %}{% endif %}{% if division is null and passage is defined and passage is not null %} {% set division=passage.division %}{% endif %}{% if translation is not defined %} {% set translation=null %}{% endif %}{% if translation is null and excerpt is defined and excerpt is not null %} {% set translation=excerpt.startArea.translation %}{% endif %}{% if work is not defined %} {% set work=null %}{% endif %}{% if work is null %} {% if translation is not null %} {% set work=translation.work %} {% elseif division is not null %} {% set work=division.work %} {% endif %}{% endif %}{% set sCategoryIndex = '' %}{% if category is not defined %} {% if work is not null and work.swedenborgType is not null %} {% set category='swedenborg' %} {% elseif all_stories is defined and all_stories is not empty %} {% set category='story' %} {% else %} {% set category=null %} {% endif %}{% endif %}{% if category is null and collection is defined and collection is not null %} {% for coll_category in collection.categories if coll_category.indexPage is not null %} {% set category=coll_category %} {% endfor %}{% endif %}{% if category is null and translation is not null %} {% for tr_category in translation.categories if tr_category.indexPage is not null %} {% set category=tr_category %} {% endfor %}{% endif %}{% if category is null and work is not null %} {% for work_category in work.categories if work_category.indexPage is not null %} {% set category=work_category %} {% set sCategoryIndex = work_category.indexPage %} {% endfor %}{% endif %}{% set bChapterExplanation = false %}{% if (chapter_explanations_for_combo is defined and chapter_explanations_for_combo is not empty) or is_chapter_explanation is defined %} {% set bChapterExplanation = true %}{% endif %}{% set bVerseExplanation = false %}{% if is_verse_explanation is defined %} {% set bVerseExplanation = true %}{% endif %}{% block crumb_trail %} {% set first_crumb = true %} {% if category == 'swedenborg' %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} <a href="{{ path('swedenborg') }}" title="{{ app.session.get('ui_str')["linktitle.short.swedenborg.main"] }}"><i class="fad fa-feather-pointed"></i></a> </li> {% elseif category == 'story' and all_stories is defined and all_stories is not empty %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} <a href="{{ path('bible_stories') }}" title="{{ app.session.get('ui_str')["linktitle.short.bible.storyexplanations"] }}"><i class="fad fa-book-open-reader"></i></a> </li> {% elseif category is not null %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} {% if category.indexPage is not null and (index_path is not defined or index_path is null) %} <a href="{{ path(category.indexPage) }}" title="{{ app.session.get('ui_str')["linktitle.short."~index_page_title_paths[category.indexPage]] }}">{% if category.indexPage == 'consider' %}<i class='fad fa-sun'></i>{% elseif category.indexPage == 'concepts' %}<i class='fas fa-key'></i>{% elseif category.indexPage == 'q-and-a' %}<i class='fad fa-comments'></i>{% else %}{% if category.indexPage == 'concordance' %}<i class='fas fa-key'></i>{% endif %} {{ app.session.get('ui_str')["linktitle.short."~index_page_title_paths[category.indexPage]] }}{% endif %} {% if concordance_has_searched_list is defined %} <i class="fa-kit fa-solid-filter-magnifying-glass"></i> {% endif %}</a> {% else %} <a href="{{ uri(category) }}">{{ category.name }}</a> {% endif %} </li> {% elseif bChapterExplanation %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} {% include 'NCBSWBundle:Exposition:interface/popup/chapter_summary_popup.html.twig' %} </li> {% elseif bVerseExplanation %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} <button type="button" class="btn btn-text" >{{ app.session.get('ui_str')["linktitle.short.bible.verseexplanations"] }}</button> </li> {% elseif index_path is defined %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} <a href="{{ path(index_path) }}">{{ app.session.get('ui_str')["linktitle.short."~index_page_title_paths[index_path]] }}</a> </li> {% endif %} {% if collection is defined and collection is not null %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} {{ collection.name }} </li> {% endif %} {% set bConcept = (category is not null and category != 'swedenborg' and category != 'story' and category.id == 12) %} {% if work is not null and not bConcept %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} {% if category == 'swedenborg' %} {% include 'NCBSWBundle:Exposition:interface/popup/work_popup.html.twig' %} {% elseif category == 'story' and all_stories is defined and all_stories is not empty %} {% include 'NCBSWBundle:Exposition:interface/popup/story_popup.html.twig' %} {% elseif category is not null %} {% if category.id == 13 %} {% include 'NCBSWBundle:Exposition:interface/popup/topic_popup.html.twig' %} {% elseif category.id == 14 %} {% include 'NCBSWBundle:Exposition:interface/popup/biblestudy_popup.html.twig' %} {% elseif category.id != 53 %} {% include 'NCBSWBundle:Exposition:interface/work_dropdown/category_dropdown.html.twig' %} {% endif %} {% elseif book_summaries is defined and book_summaries is not empty %} {% include 'NCBSWBundle:Exposition:interface/popup/bible_book_summary_popup.html.twig' %} {% elseif chapter_explanations_for_combo is defined and chapter_explanations_for_combo is not empty %} {% include 'NCBSWBundle:Exposition:interface/popup/chapter_summary_work_popup.html.twig' %} {% elseif verse_explanations is defined and verse_explanations is not empty %} {% include 'NCBSWBundle:Exposition:interface/popup/verse_explanations_popup.html.twig' %} {% else %} {% if translation is not null and translation.translatedTitle is not empty %}{{ translation.translatedTitle }}{% else %}{{ work.title }}{% endif %} {% endif %} </li> {% endif %} {% if translation is not null and (work.translations|length > 1) and (book_summaries is not defined or book_summaries is empty) %} <li class="breadcrumb-item"> {% if first_crumb %} {% set first_crumb = false %} {% endif %} {% if sCategoryIndex != 'consider' and category != 'story' and not bChapterExplanation %} <button type="button" class="btn btn-text" >{{ app.session.get('ui_str')["exposition.breadcrumbs.translationlabel"] }}</button> {% endif %} {% include 'NCBSWBundle:Exposition:interface/popup/work_translation_popup.html.twig' with {'dropdown_target': 'multicolumn'} %} </li> {% endif %} <span name="OtherLangLink" style="display:none" > <li class="breadcrumb-item"> <a href="/additional-translations" target="_blank">(See also other languages)</a> </li> </span> {% endblock %}