aurweb/templates/partials/packages/updates.html
Kevin Morris 1545eab81d
feat: add timezone to datetime display across the board
- the "Flagged Out-of-date on ..." link in the package action panel does
  not contain a timezone specifier.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2022-02-05 18:35:50 -08:00

34 lines
1 KiB
HTML

<div id="pkg-updates" class="widget box">
<h3>
{{ "Recent Updates" | tr }}
<span class="more">
(<a href="/packages/?SB=l&SO=d">{{ "more" | tr }}</a>)
</span>
</h3>
<a class="rss-icon latest" href="/rss"
title="AUR Latest Packages RSS Feed">
<img src="/static/images/rss.svg" alt="RSS Feed" />
</a>
<a class="rss-icon" href="/rss/modified"
title="AUR Modified Packages RSS Feed">
<img src="/static/images/rss.svg" alt="RSS Feed" />
</a>
<table>
<tbody>
{% for pkg in package_updates %}
<tr>
<td class="pkg-name">
<a href="/packages/{{ pkg.Name }}">
{{ pkg.Name }} {{ pkg.Version }}
</a>
</td>
<td class="pkg-date">
{{ datetime_display(pkg.PackageBase.ModifiedTS) }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>