diff options
author | Remi Collet <remi@remirepo.net> | 2025-01-07 10:53:29 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-01-07 10:53:29 +0100 |
commit | e18628b04921664d8eebe9983a2da01f88764819 (patch) | |
tree | d7b2c93ec4427493ea4e6318f3706a7f692108dc | |
parent | 4462c58ade980a83e60c78b41709bd8d4662b8ec (diff) |
-rw-r--r-- | smarty/templates/rpmphp/zoom.tpl | 2 | ||||
-rw-r--r-- | zoom.php | 2 |
2 files changed, 3 insertions, 1 deletions
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']; } |