diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-07 18:10:59 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-07 18:10:59 -0500 |
commit | 5b675902ff561682d5a991826661edce4e20d561 (patch) | |
tree | bf12ec8a90c5698e42707396c7946da86f63567c /src/SMAPI.Web/wwwroot/Content/js | |
parent | 10c7192bb9f06ff96b9b98a812d9f72a8d77ac76 (diff) | |
download | SMAPI-5b675902ff561682d5a991826661edce4e20d561.tar.gz SMAPI-5b675902ff561682d5a991826661edce4e20d561.tar.bz2 SMAPI-5b675902ff561682d5a991826661edce4e20d561.zip |
improve SMAPI 3.0 status column, show by default
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/js')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/mods.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/mods.js b/src/SMAPI.Web/wwwroot/Content/js/mods.js index 05114b00..874fbf25 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/mods.js +++ b/src/SMAPI.Web/wwwroot/Content/js/mods.js @@ -102,15 +102,18 @@ smapi.modList = function (mods, enableBeta) { // set SMAPI 3.0 display text switch (mod.Smapi3Status) { case "ok": - mod.Smapi3DisplayText = "✓"; + mod.Smapi3DisplayText = "✓ yes"; + mod.Smapi3Tooltip = "The latest version of this mod is compatible with SMAPI 3.0."; break; case "broken": - mod.Smapi3DisplayText = "✖"; + mod.Smapi3DisplayText = "✖ no"; + mod.Smapi3Tooltip = "This mod will break in SMAPI 3.0; consider notifying the author."; break; default: mod.Smapi3DisplayText = "↻ " + mod.Smapi3Status; + mod.Smapi3Tooltip = "This mod has a pending update for SMAPI 3.0 which hasn't been released yet."; break; } |