Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/snapshot-context.html
Show All 31 Lines | <a id="swh-origin-visit" href="{{ snapshot_context.visit_info.url }}"> | ||||
<i class="{{ swh_object_icons.snapshot }} mdi-fw" aria-hidden="true" title="Snapshot date"></i> | <i class="{{ swh_object_icons.snapshot }} mdi-fw" aria-hidden="true" title="Snapshot date"></i> | ||||
{{ snapshot_context.visit_info.formatted_date }} | {{ snapshot_context.visit_info.formatted_date }} | ||||
</a> | </a> | ||||
</div> | </div> | ||||
{% endif %} | {% endif %} | ||||
<ul class="nav nav-tabs" id="swh-snapshot-context-nav" style="padding-left: 5px;"> | <ul class="nav nav-tabs" id="swh-snapshot-context-nav" style="padding-left: 5px;"> | ||||
<li class="nav-item"> | <li class="nav-item"> | ||||
<a class="nav-link" id="swh-browse-code-nav-link" href="{{ snapshot_context.visit_info.url }}"> | <a class="nav-link" id="swh-browse-code-nav-link" href="{{ snapshot_context.directory_url }}"> | ||||
<i class="mdi mdi-code-tags mdi-fw" aria-hidden="true"></i> | <i class="mdi mdi-code-tags mdi-fw" aria-hidden="true"></i> | ||||
Code | Code | ||||
</a> | </a> | ||||
</li> | </li> | ||||
{% if not snapshot_context.snapshot_sizes.revision %} | {% if not snapshot_context.snapshot_sizes.revision %} | ||||
<li class="nav-item"> | <li class="nav-item"> | ||||
<a class="nav-link disabled" id="swh-browse-snapshot-branches-nav-link" href="#"> | <a class="nav-link disabled" id="swh-browse-snapshot-branches-nav-link" href="#"> | ||||
<i class="{{ swh_object_icons.branches }} mdi-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.branches }} mdi-fw" aria-hidden="true"></i> | ||||
Show All 30 Lines | <li class="nav-item"> | ||||
Visits | Visits | ||||
</a> | </a> | ||||
</li> | </li> | ||||
{% endif %} | {% endif %} | ||||
</ul> | </ul> | ||||
<script> | <script> | ||||
swh.browse.initBrowseNavbar(); | swh.browse.initBrowseNavbar(); | ||||
</script> | </script> | ||||
No newline at end of file |