{% load i18n %}
{% load evelinks %}

<div>
    <ul class="nav nav-tabs" id="ledger-character-info" role="tablist">
        <li class="nav-item">
            <a class="nav-link bg-secondary active" href="#tab-summary" data-bs-toggle="tab" role="tab" data-bs-target="#tab-summary">{% trans "Summary" %}</a>
        </li>
        <li class="nav-item">
            <a class="nav-link bg-secondary" href="#tab-daily" data-bs-toggle="tab" role="tab" data-bs-target="#tab-daily">{% trans "Daily" %}</a>
        </li>
        <li class="nav-item">
            <a class="nav-link bg-secondary" href="#tab-hourly" data-bs-toggle="tab" role="tab" data-bs-target="#tab-hourly">{% trans "Hourly" %}</a>
        </li>
    </ul>
    <div class="card-body rounded-bottom border border-top-0 border-secondary tab-content">
        {% include "ledger/partials/view-character-ledger/information/summary.html" with character=character type=type %}
        {% include "ledger/partials/view-character-ledger/information/daily.html" with character=character type=type %}
        {% include "ledger/partials/view-character-ledger/information/hourly.html" with character=character type=type %}
    </div>
</div>
