mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
Show source tarball links on the web site
This commit is contained in:
parent
85cbd3db9c
commit
c2274bf280
1 changed files with 5 additions and 0 deletions
|
|
@ -146,6 +146,9 @@ class FDroid
|
|||
case "apkname":
|
||||
$thisapk['apkname']=$pel;
|
||||
break;
|
||||
case "srcname":
|
||||
$thisapk['srcname']=$pel;
|
||||
break;
|
||||
case "hash":
|
||||
$thisapk['hash']=$pel;
|
||||
break;
|
||||
|
|
@ -191,6 +194,8 @@ class FDroid
|
|||
$out.="<p><b>Version ".$apk['version']."</b> - ";
|
||||
$out.='<a href="http://f-droid.org/repo/'.$apk['apkname'].'">download</a> ';
|
||||
$out.=$apk['size']." bytes";
|
||||
if($apk['srcname'])
|
||||
$out.='<br><a href="http://f-droid.org/repo/'.$apk['srcname'].'">source tarball</a>';
|
||||
$out.="</p>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue