changeset 41:11e31df42560

Show materials in tooltip even when not researched.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Jul 2021 13:30:32 +0300
parents aeb2ae695722
children 36c9e3e31234
files info.php
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/info.php	Tue Jul 06 22:43:36 2021 +0300
+++ b/info.php	Thu Jul 08 13:30:32 2021 +0300
@@ -139,7 +139,10 @@
         }
         else
         if ($nohits)
-          echo "<td class=\"nohits\" title=\"Not researched\">?</td>";
+        {
+          echo "<td class=\"nohits\" title=\"".
+          $mat1." + ".$mat2." = Not researched\">?</td>";
+        }
         else
           echo "<td class=\"nohits\"></td>";