diff options
-rw-r--r-- | refresh.php | 2 | ||||
-rw-r--r-- | smarty/templates/rpmphp/zoom.tpl | 2 | ||||
-rw-r--r-- | zoom.php | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/refresh.php b/refresh.php index 7fb4810..90ba2a1 100644 --- a/refresh.php +++ b/refresh.php @@ -119,7 +119,7 @@ try { if ($_SERVER['argc']==1 || in_array('owner', $_SERVER['argv'])) { $url = "https://admin.fedoraproject.org/pkgdb/api/bugzilla"; - Parser::readAcls($acltable, $url); + // Parser::readAcls($acltable, $url); } if ($_SERVER['argc']==1 || in_array('optimize', $_SERVER['argv'])) { diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 960a908..6bc91d1 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -43,6 +43,8 @@ <td{if $k eq 'Description'} id="pkgdb_desc"{/if}> {if $k eq 'Bugzilla'} <a href="{$v}">Active bugs</a> + {elseif $k eq 'Packagist'} + <a href="https://packagist.org/packages/{$v}">{$v}</a> {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'Packages' or $k eq 'Koschei'} <a href="{$v}">{$v}</a> {else} @@ -140,7 +140,7 @@ if ( !isset($name) || !$name ) { $summary['Type'] = $up['type']; } if ($rpm->pkgname) { - $summary['Composer name'] = $rpm->pkgname; + $summary['Packagist'] = $rpm->pkgname; } else if ($up && $up['channel']) { $summary['Channel'] = $up['channel']; } |