Use the "new" icon from archweb for the recent updates table
[aur.git] / web / template / stats / updates_table.php
blobe7ceec7b97db8d48af18df3c3c978fb91f3bdf15
1 <h3><?php echo __("Recent Updates") ?></h3>
3 <a href="<?php echo get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/feed-icon-14x14.png" alt="RSS Feed" /></a>
5 <table>
6 <?php foreach ($newest_packages->getIterator() as $row): ?>
7 <tr>
8 <td>
9 <a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
10 <?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>
11 <img src="images/new.png" alt="New!" />
12 <?php endif; ?>
13 </td>
14 <td>
15 <span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
16 </td>
17 </tr>
18 <?php endforeach; ?>
19 </table>