summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-19 08:24:53 +0100
committerRemi Collet <remi@remirepo.net>2019-02-19 08:24:53 +0100
commit427e92293213a629709da8c7175e93abe1150510 (patch)
treef74d1bbb9b8ead36aa8a8463670855db3cf30098
parenta12bf10ece0d698b2b6bd32b2e6d28b6ea368e72 (diff)
replace link to pkgdb with link to packages
-rw-r--r--smarty/templates/rpmphp/zoom.tpl2
-rw-r--r--zoom.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index a470b18..cfc1cb7 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -43,7 +43,7 @@
<td{if $k eq 'Description'} id="pkgdb_desc"{/if}>
{if $k eq 'Bugzilla'}
<a href="{$v}">Active bugs</a>
- {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'PkgDB' or $k eq 'Fedora git'}
+ {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'Packages' or $k eq 'Fedora git'}
<a href="{$v}">{$v}</a>
{else}
{$v}
diff --git a/zoom.php b/zoom.php
index 48f1776..31da51c 100644
--- a/zoom.php
+++ b/zoom.php
@@ -167,7 +167,7 @@ if ( !isset($name) || !$name ) {
}
$summary['Pagure'] = "https://src.fedoraproject.org/rpms/$name";
$summary['Fedora git'] = "https://src.fedoraproject.org/cgit/rpms/$name.git/";
- $summary['PkgDB'] = $fedcli->getPackageURL($name);
+ $summary['Packages'] = "https://apps.fedoraproject.org/packages/$name";
if (isset($_GET['pkgdb'])) {
$fedpkg = $fedcli->getPackageInfo($name);