mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Replace new package icon
Use a flat icon from the Open Iconic collection to mark new packages. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
a35dc4022a
commit
9c98523494
4 changed files with 5 additions and 2 deletions
|
@ -165,7 +165,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
|||
readfile("./$path");
|
||||
break;
|
||||
case "/css/archnavbar/archlogo.gif":
|
||||
case "/images/new.png":
|
||||
header("Content-Type: image/png");
|
||||
readfile("./$path");
|
||||
break;
|
||||
|
@ -182,6 +181,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
|||
case "/images/pin.min.svg":
|
||||
case "/images/unpin.min.svg":
|
||||
case "/images/rss.svg":
|
||||
case "/images/new.svg":
|
||||
header("Content-Type: image/svg+xml");
|
||||
readfile("./$path");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue