mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use SVG image for comment deletion icon
This also puts the icon to the right and the timestamp in the byline and wipes out a repeated instance of the byline. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
4ca8747396
commit
8375d21210
6 changed files with 65 additions and 17 deletions
|
@ -173,6 +173,10 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
|
|||
header("Content-Type: image/png");
|
||||
readfile("./$path");
|
||||
break;
|
||||
case "/images/x.min.svg":
|
||||
header("Content-Type: image/svg+xml");
|
||||
readfile("./$path");
|
||||
break;
|
||||
case "/js/bootstrap-typeahead.min.js":
|
||||
header("Content-Type: application/javascript");
|
||||
readfile("./$path");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue