summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-09-04 10:26:15 +0200
committerRemi Collet <remi@remirepo.net>2017-09-04 10:26:15 +0200
commit8c93f53ed5a1f3e566933d914fbcbdc52f910154 (patch)
tree2be42eeb0ea6b2bb02284ccca399fe0b2e112530
parent321ef5263e8f45ecdc1ac1e6e2bb280a756cc3f1 (diff)
Add link to 'Fedora git' (cgit is back \o/)
-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 c1f882e..a470b18 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'}
+ {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'PkgDB' or $k eq 'Fedora git'}
<a href="{$v}">{$v}</a>
{else}
{$v}
diff --git a/zoom.php b/zoom.php
index 96e2cf6..648939f 100644
--- a/zoom.php
+++ b/zoom.php
@@ -174,7 +174,7 @@ if ( !isset($name) || !$name ) {
'&amp;component=' . $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);
if (isset($_GET['pkgdb'])) {