Skip to content

Commit

Permalink
Merge pull request #481 from rafsaf/fix-pills-table-tab-times
Browse files Browse the repository at this point in the history
fix fe table pills in outline times view
  • Loading branch information
rafsaf authored Jun 26, 2024
2 parents 6210a45 + 778a4aa commit 9a693ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@
{% for time in outline_time %}
<li class="nav-item">
{% if forloop.first %}
<a class="nav-link nav-link-pills active" id="pills-{{time.order}}" data-toggle="pill" href="#{{time.order}}"
<a class="nav-link nav-link-pills active" id="pills-{{time.order}}-tab" data-toggle="tab" href="#pills-{{time.order}}"
role="tab" aria-controls="pills-{{time.order}}" aria-selected="true">{{time.order}}</a>
{% elif forloop.last %}
<a class="nav-link nav-link-pills last-nav-link" id="pills-{{time.order}}" data-toggle="pill" href="#{{time.order}}"
<a class="nav-link nav-link-pills last-nav-link" id="pills-{{time.order}}-tab" data-toggle="tab" href="#pills-{{time.order}}"
role="tab" aria-controls="pills-{{time.order}}" aria-selected="true">{{time.order}}</a>
{% else %}
<a class="nav-link nav-link-pills" id="pills-{{time.order}}" data-toggle="pill" href="#{{time.order}}" role="tab"
<a class="nav-link nav-link-pills" id="pills-{{time.order}}-tab" data-toggle="tab" href="#pills-{{time.order}}" role="tab"
aria-controls="pills-{{time.order}}" aria-selected="false">{{time.order}}</a>
{% endif %}
</li>
Expand All @@ -161,8 +161,8 @@
<div class="tab-content" id="pills-tabContent">
{% for time, periodmodel in outline_time.items %}
{% if forloop.counter == 1 %}
<div class="tab-pane fade show active" id="{{time.order}}" role="tabpanel"
aria-labelledby="pills-{{time.order}}">
<div class="tab-pane fade show active" id="pills-{{time.order}}" role="tabpanel"
aria-labelledby="pills-{{time.order}}-tab">
<table class="table table-sm ">
<thead>
<tr>
Expand Down Expand Up @@ -204,7 +204,7 @@
</div>
</div>
{% else %}
<div class="tab-pane fade show" id="{{time.order}}" role="tabpanel" aria-labelledby="pills-{{time.order}}">
<div class="tab-pane fade show" id="pills-{{time.order}}" role="tabpanel" aria-labelledby="pills-{{time.order}}-tab">
<table class="table table-sm ">
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["rafsaf <[email protected]>"]
description = "Tribal Wars Planer django app, professional tool for creating outlines for off-game coordinators."
name = "tribal_wars_planer"
version = "4.43.0"
version = "4.43.1"

[tool.poetry.dependencies]
python = ">=3.12,<3.13"
Expand Down

0 comments on commit 9a693ac

Please sign in to comment.