Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/browse/branches.html
Show All 10 Lines | |||||
{% load swh_templatetags %} | {% load swh_templatetags %} | ||||
{% block swh-browse-content %} | {% block swh-browse-content %} | ||||
{% if displayed_branches|length > 0 %} | {% if displayed_branches|length > 0 %} | ||||
<div class="table-responsive mt-3 mb-3"> | <div class="table-responsive mt-3 mb-3"> | ||||
<table class="table swh-table swh-table-striped"> | <table class="table swh-table swh-table-striped"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th><i class="{{ swh_object_icons.branch }} fa-fw"></i>Name</th> | <th><i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i>Name</th> | ||||
<th>Revision</th> | <th>Revision</th> | ||||
<th>Message</th> | <th>Message</th> | ||||
<th>Date</th> | <th>Date</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
{% for branch in displayed_branches %} | {% for branch in displayed_branches %} | ||||
<tr class="swh-branch-entry swh-tr-hover-highlight"> | <tr class="swh-branch-entry swh-tr-hover-highlight"> | ||||
<td class="swh-branch-name"> | <td class="swh-branch-name"> | ||||
<a href="{{ branch.directory_url }}"> | <a href="{{ branch.directory_url }}"> | ||||
<i class="{{ swh_object_icons.branch }} fa-fw"></i>{{ branch.name }} | <i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i>{{ branch.name }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<a href="{{ branch.revision_url }}"> | <a href="{{ branch.revision_url }}"> | ||||
{{ branch.revision|slice:":7" }} | {{ branch.revision|slice:":7" }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td class="swh-branch-message swh-table-cell-text-overflow" title="{{ branch.message }}"> | <td class="swh-branch-message swh-table-cell-text-overflow" title="{{ branch.message }}"> | ||||
Show All 33 Lines |