mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Removed links to internal sources from package details.
Tarball extraction code has been removed in commit
ec0dfc27de
, so links to package sources
contained in the source tarball itself will no longer be accessible
through the AUR frontend.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
737268e0c2
commit
2c098d73a2
2 changed files with 8 additions and 3 deletions
|
@ -44,6 +44,12 @@ span.f7 /* Green Message */
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
span.f8 /* Internal Sources in Package Details */
|
||||||
|
{
|
||||||
|
color: #888;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
span.fix /* Monospace fixed-font */
|
span.fix /* Monospace fixed-font */
|
||||||
{
|
{
|
||||||
color: #000;
|
color: #000;
|
||||||
|
|
|
@ -173,9 +173,8 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
|
||||||
$src = $src[0];
|
$src = $src[0];
|
||||||
# It is presumably an internal source
|
# It is presumably an internal source
|
||||||
if ($row["LocationID"] == 2) {
|
if ($row["LocationID"] == 2) {
|
||||||
$urlpath = URL_DIR . $row['Name'];
|
echo "<span class='f8'>$src</span>";
|
||||||
echo "<a href='$urlpath/$src'>";
|
echo "<br />\n";
|
||||||
echo "$src</a><br />\n";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue