From 4ed21aca9aa7fc1a90f3aa1651389637a6dcec4b Mon Sep 17 00:00:00 2001
From: Rasmus Fuhse <fuhse@data-quest.de>
Date: Thu, 1 Dec 2016 12:42:05 +0100
Subject: [PATCH] re #71

---
 views/myplugins/overview.php | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/views/myplugins/overview.php b/views/myplugins/overview.php
index 4beadd2..554925d 100755
--- a/views/myplugins/overview.php
+++ b/views/myplugins/overview.php
@@ -3,6 +3,7 @@
         <tr>
             <th><?= _("Name") ?></th>
             <th><?= _("Letztes Update") ?></th>
+            <th><?= _("Maximale Stud.IP-Version") ?></th>
             <th></th>
             <th></th>
         </tr>
@@ -28,6 +29,17 @@
             ?>
                 <?= date("j.n.Y, G:i", $chdate) ?> <?= _("Uhr") ?>
             </td>
+            <td>
+                <?
+                $max = "0.1";
+                foreach ($marketplugin->releases as $release) {
+                    if (version_compare($max, $release['studip_max_version'], "<")) {
+                        $max = $release['studip_max_version'];
+                    }
+                    echo htmlReady($max === "0.1" ? "?" : $max);
+                }
+                ?>
+            </td>
             <td>
             <? if (!$marketplugin['publiclyvisible']) :  ?>
                 <?= Assets::img("icons/20/grey/lock-locked.png.png", array('title' => _("Plugin ist nicht �ffentlich"))) ?>
-- 
GitLab