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

criezy criezy at scummvm.org
Mon Jan 18 22:48:05 UTC 2021


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

Summary:
b81751b385 WEB: Sort versions on compatibility page from newer to oldest
fee4b6f057 WEB: Add game disclaimer on compatibility page


Commit: b81751b385ea5dcca41e8ab41cd5250a54b30e91
    https://github.com/scummvm/scummvm-web/commit/b81751b385ea5dcca41e8ab41cd5250a54b30e91
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-01-18T21:25:08Z

Commit Message:
WEB: Sort versions on compatibility page from newer to oldest

This fixes bug #12054

Changed paths:
    include/Pages/CompatibilityPage.php


diff --git a/include/Pages/CompatibilityPage.php b/include/Pages/CompatibilityPage.php
index 53d7b503..442bae0f 100644
--- a/include/Pages/CompatibilityPage.php
+++ b/include/Pages/CompatibilityPage.php
@@ -56,9 +56,9 @@ class CompatibilityPage extends Controller
         $target = $args['game'];
 
         $versions = VersionQuery::create()
-            ->orderByMajor()
-            ->orderByMinor()
-            ->orderByPatch()
+            ->orderByMajor('desc')
+            ->orderByMinor('desc')
+            ->orderByPatch('desc')
             ->select('id')
             ->find()->toArray();
 


Commit: fee4b6f057f07b90eba1346e4337876db890e22a
    https://github.com/scummvm/scummvm-web/commit/fee4b6f057f07b90eba1346e4337876db890e22a
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-01-18T22:23:57Z

Commit Message:
WEB: Add game disclaimer on compatibility page

Changed paths:
    data/en/strings.json
    templates/pages/compatibility.tpl


diff --git a/data/en/strings.json b/data/en/strings.json
index 23e9307e..20225c75 100644
--- a/data/en/strings.json
+++ b/data/en/strings.json
@@ -25,6 +25,7 @@
   "compatibilityDevDisclaimer": "As this is the status of the development version, occasional temporary bugs may be introduced with new changes, thus this list refects the 'best case' scenario. It is highly recommended to use the latest stable release, where possible.",
   "compatibilityStableContent": "Also, this is the compatibility of the {version} stable release, **not of current repository/daily builds**. The status of these can be found on the [Development Compatibility](/compatibility/) chart.",
   "compatibilityStableReleases": "You can also see the Compatibility chart for these releases:",
+  "compatibilityGameDisclaimer": "Note: ScummVM does not include any games. To play one of the game listed on this page you will need to have your own copy of the game and add it to ScummVM. Some games are available for free on our [Game downloads page](/games/). For other games see the [Where to get the games](https://wiki.scummvm.org/index.php?title=Where_to_get_the_games) page on our wiki. For information on how to add games to ScummVM see [the documentation](https://docs.scummvm.org/en/latest/use_scummvm/add_play_games.html).",
   "compatiblityLastUpdated": "Last Updated:",
   "compatibilityLegendTitle": "Color Key",
   "compatibilitySectionTitle": "{company} Game Compatibility Chart",
diff --git a/templates/pages/compatibility.tpl b/templates/pages/compatibility.tpl
index 44608709..2a69de2b 100644
--- a/templates/pages/compatibility.tpl
+++ b/templates/pages/compatibility.tpl
@@ -30,6 +30,9 @@
             </select>
         </p>
     {/if}
+    <p>
+        {#compatibilityGameDisclaimer#}
+    </p>
     <p>
         <small>{#compatiblityLastUpdated#} {$last_updated|date_localized}</small>
     </p>




More information about the Scummvm-git-logs mailing list