mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Cosmetic: Show flagged out of date on package page.
Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date. Signed-off-by: tardo <tardo@nagi-fanboi.net>
This commit is contained in:
parent
4548b0d08b
commit
9cba3937d0
2 changed files with 6 additions and 0 deletions
|
@ -155,4 +155,6 @@ $_t["en"]["Required by"] = "Required by";
|
|||
|
||||
$_t["en"]["The above files have been verified (by %h%s%h) and are safe to use."] = "The above files have been verified (by %h%s%h) and are safe to use.";
|
||||
|
||||
$_t["en"]["This package has been flagged out of date."] = "This package has been flagged out of date.";
|
||||
|
||||
?>
|
||||
|
|
|
@ -400,6 +400,10 @@ function package_details($id=0, $SID="") {
|
|||
print "<span class='f6'>".__("Be careful! The above files may contain malicious code that can damage your system.")."</span></td>";
|
||||
}
|
||||
}
|
||||
if ($row["OutOfDate"] == 1) {
|
||||
print "\n<tr><td colspan='2'>";
|
||||
print "<span class='f6'>".__("This package has been flagged out of date.")."</span></td></tr>";
|
||||
}
|
||||
print "<tr>\n";
|
||||
print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>";
|
||||
print "</tr>\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue