Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/templates/browse-releases.html
Show All 11 Lines | |||||
{% block swh-browse-content %} | {% block swh-browse-content %} | ||||
<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.release }} mdi-fw" aria-hidden="true"></i>Name</th> | <th><i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i>Branch name</th> | ||||
<th><i class="{{ swh_object_icons.release }} mdi-fw" aria-hidden="true"></i>Release name</th> | |||||
<th>Target</th> | <th>Target</th> | ||||
<th>Message</th> | <th>Message</th> | ||||
<th>Date</th> | <th>Date</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
{% if displayed_releases|length > 0 %} | {% if displayed_releases|length > 0 %} | ||||
{% for release in displayed_releases %} | {% for release in displayed_releases %} | ||||
<tr class="swh-release-entry swh-tr-hover-highlight"> | <tr class="swh-release-entry swh-tr-hover-highlight"> | ||||
<td class="swh-release-name"> | <td class="swh-branch-name"> | ||||
<a href="{{ release.release_url }}"> | <a href="{{ release.release_url }}"> | ||||
{% if release.alias %} | {% if release.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.release }} mdi-fw" aria-hidden="true"></i> | <i class="{{ swh_object_icons.branch }} mdi-fw" aria-hidden="true"></i> | ||||
{% endif %} | {% endif %} | ||||
{{ release.branch_name }} | |||||
</a> | |||||
</td> | |||||
<td class="swh-release-name"> | |||||
<a href="{{ release.release_url }}"> | |||||
<i class="{{ swh_object_icons.release }} mdi-fw" aria-hidden="true"></i> | |||||
{{ release.name }} | {{ release.name }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
<td class="swh-release-target"> | <td class="swh-release-target"> | ||||
<a href="{{ release.target_url }}"> | <a href="{{ release.target_url }}"> | ||||
<i class="{{ swh_object_icons|key_value:release.target_type }} mdi-fw" aria-hidden="true" title="{{ release.tooltip }}"></i>{{ release.target|slice:":7" }} | <i class="{{ swh_object_icons|key_value:release.target_type }} mdi-fw" aria-hidden="true" title="{{ release.tooltip }}"></i>{{ release.target|slice:":7" }} | ||||
</a> | </a> | ||||
</td> | </td> | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |