[Scummvm-git-logs] scummvm-web master -> a5a805b3fb84d470c7448f529a4f7028c4d875b7

sev- noreply at scummvm.org
Tue May 31 06:41:25 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
a5a805b3fb WEB: Adding tooltips to compatibility ratings


Commit: a5a805b3fb84d470c7448f529a4f7028c4d875b7
    https://github.com/scummvm/scummvm-web/commit/a5a805b3fb84d470c7448f529a4f7028c4d875b7
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-05-31T08:41:22+02:00

Commit Message:
WEB: Adding tooltips to compatibility ratings

Changed paths:
    templates/pages/compatibility.tpl


diff --git a/templates/pages/compatibility.tpl b/templates/pages/compatibility.tpl
index 3b7820c7..18b31738 100644
--- a/templates/pages/compatibility.tpl
+++ b/templates/pages/compatibility.tpl
@@ -50,7 +50,7 @@
     <tbody>
         <tr class="color2">
             {foreach from=$support_level_header key=level item=desc}
-            <td class={$support_level_class.$level} align='center'>{$desc}</td>
+            <td class={$support_level_class.$level} align='center' title="{$support_level_description.$level}">{$desc}</td>
             {/foreach}
         </tr>
     </tbody>
@@ -71,10 +71,11 @@
         {assign var="x" value=$game->getSupport()}
         {assign var="pct_class" value=$support_level_class.$x}
         {assign var="support_level" value=$support_level_header.$x}
+        {assign var="support_level_desc" value=$support_level_description.$x}
         <tr class="color{cycle values='2,0'}">
             <td class="gameFullName"><a href="{'/compatibility/'|lang}{$version}/{$game->getGame()->getId()}/">{$game->getGame()->getName()}</a></td>
             <td class="gameShortName">{$game->getGame()->getId()}</td>
-            <td class="gameSupportLevel {$pct_class}">{$support_level}</td>
+            <td class="gameSupportLevel {$pct_class}" title="{$support_level_desc}">{$support_level}</td>
         </tr>
         {/foreach}
     </tbody>




More information about the Scummvm-git-logs mailing list