issue bug in the flow: home > explore books > latest interpretations, it stays in the explore books page #215 and issue book-view section-label underline lost in new deployment #216

This commit is contained in:
Kostiantyn Stoliarskyi 2023-06-23 14:04:51 +03:00 committed by Jakub Sokołowski
parent c27e50df65
commit b8c47fbfc7
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 4 additions and 2 deletions

View File

@ -146,7 +146,9 @@
{% for section in collection.active_sections %}
<a
href="{{url_for('book.interpretation_view', book_id=book.id, section_id=section.copy_of or section.id)}}">
<p id="section-{{section.label}}" class="my-3">{{ section.label }}</p>
<p id="section-{{section.label}}" class="my-3 underline">
{{ section.label }}
</p>
</a>
{% if not section.active_interpretations %}
<p class="ml-3 my-3 italic text-sm">This section is empty</p>

View File

@ -21,7 +21,7 @@
<ul class="flex md:flex-wrap -mb-px text-xs md:text-sm font-medium text-center" id="myTab" data-tabs-toggle="#myTabContent" role="tablist">
<li class="md:mr-2 w-full md:w-auto flex items-center justify-center" role="presentation">
<!-- prettier-ignore -->
<a href="{{url_for('home.explore_books')}}" class="inline-flex py-4 md:p-4 items-center rounded-t-lg" id="last-interpretations-tab" data-tabs-target="#last-interpretations" type="button" role="tab" aria-controls="last-interpretations" aria-selected="false"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 mr-3"> <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z" /> </svg>
<a href="{{url_for('home.get.all')}}" class="inline-flex py-4 md:p-4 items-center rounded-t-lg" id="last-interpretations-tab" data-tabs-target="#last-interpretations" type="button" role="tab" aria-controls="last-interpretations" aria-selected="false"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 mr-3"> <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z" /> </svg>
Latest Interpretations
</a>
</li>