[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/www/applications
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2016-12-18 22:28:06
Message-ID: E1cIjw6-0008Lp-JN () code ! kde ! org
[Download RAW message or body]

SVN commit 1477737 by kossebau:

Add "Get App" section to app pages, with appstream for now

 M  +5 -1      applicationpage.php  


--- trunk/www/sites/www/applications/applicationpage.php #1477736:1477737
@@ -51,7 +51,11 @@
         $content .= '</div>';
     }
 
-    ///TODO: "Get $app" link?
+    if ($app->hasAppstream()) {
+        $content .= '<div class="infobox"><strong>Get '.$app->name().'</strong>';
+        $content .= '<br /><a href="appstream:'.$app->AppStreamId().'">Install via AppStream</a>';
+        $content .= '</div>';
+    }
 
     $content .= '<div class="infobox"><strong>Get help</strong>';
     if ($app->hasUserbase()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic