sort branches and tags by date in default templates
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<th>Author</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
{% for entry in branches -%}
|
||||
{% for entry in branches | sort(attribute="ts_utc") | reverse -%}
|
||||
<tr class="branch">
|
||||
<td class="name"><a href="branch/{{entry.full_hash}}.html">{{entry.ref_name}}</a></td>
|
||||
<td class="oid">{{entry.short_hash}}</td>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<th>Author</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
{% for entry in tags -%}
|
||||
{% for entry in tags | sort(attribute="ts_utc") | reverse -%}
|
||||
<tr class="tag">
|
||||
<td class="name"><a href="tag/{{entry.full_hash}}.html">{{entry.ref_name}}</a></td>
|
||||
<td class="oid">{{entry.short_hash}}</td>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<th>Author</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
{% for entry in branches -%}
|
||||
{% for entry in branches | sort(attribute="ts_utc") | reverse -%}
|
||||
<tr class="branch">
|
||||
<td class="name"><a href="branch/{{entry.full_hash}}.html">{{entry.ref_name}}</a></td>
|
||||
<td class="oid">{{entry.short_hash}}</td>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<th>Author</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
{% for entry in tags -%}
|
||||
{% for entry in tags | sort(attribute="ts_utc") | reverse -%}
|
||||
<tr class="tag">
|
||||
<td class="name"><a href="tag/{{entry.full_hash}}.html">{{entry.ref_name}}</a></td>
|
||||
<td class="oid">{{entry.short_hash}}</td>
|
||||
|
||||
Reference in New Issue
Block a user