Show package architectures (if available)

This commit is contained in:
Hugo Osvaldo Barrera 2022-07-19 18:40:46 +02:00
parent a8c0deb2a2
commit 65d8f18255

View file

@ -157,6 +157,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>