ject.get_notes_url or active_tab == 'notes' %}
                <li role="presentation"{% if active_tab == 'notes' %} class="active"{% endif %}>
                    <a href="{{ object.get_notes_url }}">Notes {% badge object.notes.count %}</a>
                </li>
            {% endif %}
        {% endif %}
        {% if perms.extras.view_objectchange %}
            {% if active_tab != 'changelog' and object.get_changelog_url or active_tab == 'changelog' %}
                <li role="presentation"{% if active