Merge branch 'show-architecture' into 'master'

Draft: Show architecture for packages

See merge request archlinux/aurweb!496
This commit is contained in:
Hugo Barrera 2022-08-21 19:10:20 +00:00
commit 4b3bf3c019
4 changed files with 53 additions and 3 deletions

View file

@ -160,6 +160,13 @@
<th>{{ "Last Updated" | tr }}:</th>
<td>{{ datetime_display(pkgbase.ModifiedTS) }}</td>
</tr>
{# Hide architecture for older packages for which we lack this data. #}
{% if pkg.Arch %}
<tr>
<th>{{ "Architecture" | tr }}:</th>
<td>{{ pkg.Arch }}</td>
</tr>
{% endif %}
</table>
<script type="text/javascript" src="/static/js/copy.js"></script>