diff options
author | Erich Eckner <git@eckner.net> | 2018-04-22 20:59:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-22 20:59:51 +0200 |
commit | 7cb27416f0a36d3dfd784561d2f08860a7897531 (patch) | |
tree | 92800454b2e53a336906f57c09380daec07c0c06 | |
parent | eb93a81cfccb9ee52054acb990f6546f4923eda0 (diff) | |
download | archweb32-7cb27416f0a36d3dfd784561d2f08860a7897531.tar.xz |
packages/pkginfo.php: add "Last Updated" info
-rw-r--r-- | packages/pkginfo.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 966b716..333f3a1 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -31,7 +31,8 @@ "`architectures`.`name` AS `arch`," . "`git_repositories`.`name` AS `git_repo`," . "`package_sources`.`uses_upstream`," . - "`package_sources`.`uses_modification`" . + "`package_sources`.`uses_modification`," . + "`binary_packages`.`last_moved`" . " FROM `binary_packages`" . " JOIN `architectures` ON `binary_packages`.`architecture`=`architectures`.`id`" . " JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id`" . @@ -360,7 +361,7 @@ if (count($elsewhere)>0) { <meta itemprop="softwareVersion" content="<?php print $content["Version"]; ?>"/> <meta itemprop="fileSize" content="<?php print $content["Download Size"]; ?>"/> <meta itemprop="dateCreated" content="<?php print $content["Build Date"]; ?>"/> - <meta itemprop="datePublished" content="<?php print $content["Build Date"]; ?>"/> + <meta itemprop="datePublished" content="<?php print $content["last_moved"]; ?>"/> <meta itemprop="operatingSystem" content="Arch Linux 32"/> <table id="pkginfo"> <tr> @@ -433,6 +434,14 @@ if (count($elsewhere)>0) { <?php print $content["Build Date"]."\n"; ?> </td> </tr> + <tr> + <th> + Last Updated: + </th> + <td> + <?php print $content["last_moved"]."\n"; ?> + </td> + </tr> </table> </div> <div id="metadata"> |