Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/templates/browse-branches.html
Show All 13 Lines | See top-level LICENSE file for more information | ||||
<div class="table-responsive mt-3 mb-3"> | <div class="table-responsive mt-3 mb-3"> | ||||
<div class="form-group row float-right"> | <div class="form-group row float-right"> | ||||
{% include "./includes/branch-search.html" %} | {% include "./includes/branch-search.html" %} | ||||
</div> | </div> | ||||
<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 }} mdi-fw" aria-hidden="true"></i>Name</th> | <th><i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i>Name</th> | ||||
<th>Revision</th> | <th>Target</th> | ||||
<th>Message</th> | <th>Message</th> | ||||
<th>Date</th> | <th>Date</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
{% if displayed_branches|length > 0 %} | {% if displayed_branches|length > 0 %} | ||||
{% 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 }}"> | ||||
{% if branch.alias %} | {% if branch.alias %} | ||||
<i class="{{ swh_object_icons.alias }} mdi-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.alias }} mdi-fw" aria-hidden="true"></i> | ||||
{% else %} | {% else %} | ||||
<i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i> | ||||
{% endif %} | {% endif %} | ||||
{{ branch.name }} | {{ branch.name }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td> | <td class="swh-branch-target"> | ||||
<a href="{{ branch.revision_url }}"> | <a href="{{ branch.target_url }}"> | ||||
{{ branch.revision|slice:":7" }} | <i class="{{ swh_object_icons|key_value:branch.target_type }} mdi-fw" | ||||
aria-hidden="true" title="{{ branch.tooltip }}"></i>{{ branch.target|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 }}"> | ||||
{{ branch.message }} | {{ branch.message }} | ||||
</td> | </td> | ||||
<td class="swh-branch-date"> | <td class="swh-branch-date"> | ||||
{{ branch.date }} | {{ branch.date }} | ||||
</td> | </td> | ||||
Show All 36 Lines |