mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use the "new" icon from archweb for the recent updates table
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
66fe10df63
commit
36abb9efb9
4 changed files with 3 additions and 3 deletions
Binary file not shown.
Before Width: | Height: | Size: 116 B |
BIN
web/html/images/new.png
Normal file
BIN
web/html/images/new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 378 B |
|
@ -59,8 +59,8 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
||||||
include "./$path";
|
include "./$path";
|
||||||
break;
|
break;
|
||||||
case "/css/archnavbar/archlogo.gif":
|
case "/css/archnavbar/archlogo.gif":
|
||||||
case "/images/new.gif":
|
case "/images/new.png":
|
||||||
header("Content-Type: image/gif");
|
header("Content-Type: image/png");
|
||||||
include "./$path";
|
include "./$path";
|
||||||
break;
|
break;
|
||||||
case "/css/archnavbar/archlogo.png":
|
case "/css/archnavbar/archlogo.png":
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<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"]): ?>
|
<?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>
|
||||||
<img src="images/new.gif" alt="New!" />
|
<img src="images/new.png" alt="New!" />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue