mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-02 04:00:36 +00:00
pets: move market into inventory as sub-tab
This commit is contained in:
parent
64e421d529
commit
b2f0ee58c8
1 changed files with 16 additions and 5 deletions
|
|
@ -8,7 +8,6 @@
|
|||
{#if _user.flags.dropsEnabled}
|
||||
<li><a data-toggle='tab' href="#profileInventory">Inventory</a></li>
|
||||
<li><a data-toggle='tab' href="#profileStable">Stable</a></li>
|
||||
<li><a data-toggle='tab' href="#profileMarket">Market</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
|
||||
|
|
@ -22,14 +21,26 @@
|
|||
</div>
|
||||
|
||||
<div class="tab-pane" id="profileInventory">
|
||||
<app:avatar:inventory user="{_user}" main="true" />
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a data-toggle='tab' data-target="#profileInventoryInventory">Inventory</a></li>
|
||||
<li><a data-toggle='tab' data-target="#profileInventoryMarket">Market</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='tab-content'>
|
||||
<div class='tab-pane active' id='profileInventoryInventory'>
|
||||
<app:avatar:inventory />
|
||||
</div>
|
||||
<div class='tab-pane' id='profileInventoryMarket'>
|
||||
<app:avatar:market />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-pane" id="profileStable">
|
||||
<app:pets:stable />
|
||||
</div>
|
||||
<div class='tab-pane' id='profileMarket'>
|
||||
<app:avatar:market />
|
||||
</div>
|
||||
</div>
|
||||
{/}
|
||||
{else}
|
||||
|
|
|
|||
Loading…
Reference in a new issue