mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-13 07:16:25 +00:00
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:
parent
c27e50df65
commit
b8c47fbfc7
@ -146,7 +146,9 @@
|
|||||||
{% for section in collection.active_sections %}
|
{% for section in collection.active_sections %}
|
||||||
<a
|
<a
|
||||||
href="{{url_for('book.interpretation_view', book_id=book.id, section_id=section.copy_of or section.id)}}">
|
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>
|
</a>
|
||||||
{% if not section.active_interpretations %}
|
{% if not section.active_interpretations %}
|
||||||
<p class="ml-3 my-3 italic text-sm">This section is empty</p>
|
<p class="ml-3 my-3 italic text-sm">This section is empty</p>
|
||||||
|
@ -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">
|
<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">
|
<li class="md:mr-2 w-full md:w-auto flex items-center justify-center" role="presentation">
|
||||||
<!-- prettier-ignore -->
|
<!-- 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
|
Latest Interpretations
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user