From 5b675902ff561682d5a991826661edce4e20d561 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 7 Mar 2019 18:10:59 -0500 Subject: improve SMAPI 3.0 status column, show by default --- src/SMAPI.Web/wwwroot/Content/js/mods.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/SMAPI.Web/wwwroot/Content/js') 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; } -- cgit