mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Add the new package icon back to the front page
This regression was introduced with d2480e8b9d
.
Re-implement the functionality in a cleaner way.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c133826a7c
commit
66fe10df63
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
|
<a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
|
||||||
|
<?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>
|
||||||
|
<img src="images/new.gif" alt="New!" />
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
|
<span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue