Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/templates/includes/top-navigation.html
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | <div class="swh-browse-top-navigation d-flex align-items-start justify-content-between flex-wrap mt-1"> | ||||
<i class="mdi mdi-check-bold mdi-fw" aria-hidden="true"></i> | <i class="mdi mdi-check-bold mdi-fw" aria-hidden="true"></i> | ||||
{% else %} | {% else %} | ||||
<i class="mdi mdi-fw" aria-hidden="true"></i> | <i class="mdi mdi-fw" aria-hidden="true"></i> | ||||
{% endif %} | {% endif %} | ||||
{{ b.name }} | {{ b.name }} | ||||
</a> | </a> | ||||
</li> | </li> | ||||
{% endfor %} | {% endfor %} | ||||
{% if snapshot_context.branches|length < snapshot_context.snapshot_sizes.revision %} | {% if snapshot_context.branches|length < snapshot_context.snapshot_sizes.branch %} | ||||
<li> | <li> | ||||
<i class="mdi mdi-alert mdi-fw" aria-hidden="true"></i> | <i class="mdi mdi-alert mdi-fw" aria-hidden="true"></i> | ||||
Branches list truncated to {{ snapshot_context.branches|length }} entries, | Branches list truncated to {{ snapshot_context.branches|length }} entries, | ||||
{{ snapshot_context.branches|length|mul:-1|add:snapshot_context.snapshot_sizes.revision }} | {{ snapshot_context.branches|length|mul:-1|add:snapshot_context.snapshot_sizes.branch }} | ||||
were omitted. | were omitted. | ||||
</li> | </li> | ||||
{% endif %} | {% endif %} | ||||
</div> | </div> | ||||
<div class="tab-pane" id="swh-tab-releases"> | <div class="tab-pane" id="swh-tab-releases"> | ||||
{% if snapshot_context.releases %} | {% if snapshot_context.releases %} | ||||
{% for r in snapshot_context.releases %} | {% for r in snapshot_context.releases %} | ||||
{% if r.target_type == 'revision' or r.target_type == 'directory' %} | {% if r.target_type == 'revision' or r.target_type == 'directory' %} | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |