summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 21:42:52 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 21:42:52 -0400
commitb2334fda1611efcfb2f9e48bd82e481e03bd9095 (patch)
tree0360747e248b719a682b2d0643c3c9e1f6b70c9e /src/SMAPI.Web/Views
parent0b5fa6bf86d08cd2205dca3279d99795e68f5a12 (diff)
downloadSMAPI-b2334fda1611efcfb2f9e48bd82e481e03bd9095.tar.gz
SMAPI-b2334fda1611efcfb2f9e48bd82e481e03bd9095.tar.bz2
SMAPI-b2334fda1611efcfb2f9e48bd82e481e03bd9095.zip
update compatibility list for SMAPI 3.6 & Harmony 2.0 tracking (#711)
Diffstat (limited to 'src/SMAPI.Web/Views')
-rw-r--r--src/SMAPI.Web/Views/Mods/Index.cshtml11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/SMAPI.Web/Views/Mods/Index.cshtml b/src/SMAPI.Web/Views/Mods/Index.cshtml
index 842a1e03..fa1375ec 100644
--- a/src/SMAPI.Web/Views/Mods/Index.cshtml
+++ b/src/SMAPI.Web/Views/Mods/Index.cshtml
@@ -7,6 +7,9 @@
ViewData["Title"] = "Mod compatibility";
TimeSpan staleAge = DateTimeOffset.UtcNow - Model.LastUpdated;
+
+ bool hasBeta = true; // Model.BetaVersion != null;
+ string betaLabel = "SMAPI 3.6 only"; //"SDV @Model.BetaVersion only";
}
@section Head {
<link rel="stylesheet" href="~/Content/css/mods.css?r=20200218" />
@@ -17,7 +20,7 @@
<script>
$(function() {
var data = @this.ForJson(Model.Mods ?? new ModModel[0]);
- var enableBeta = @this.ForJson(Model.BetaVersion != null);
+ var enableBeta = @this.ForJson(hasBeta);
smapi.modList(data, enableBeta);
});
</script>
@@ -40,9 +43,9 @@ else
<p>The list is updated every few days (you can help <a href="https://stardewvalleywiki.com/Modding:Mod_compatibility">update it</a>!). It doesn't include XNB mods (see <a href="https://stardewvalleywiki.com/Modding:Using_XNB_mods"><em>using XNB mods</em> on the wiki</a> instead) or compatible content packs.</p>
- @if (Model.BetaVersion != null)
+ @if (hasBeta)
{
- <p id="beta-blurb" v-show="showAdvanced"><strong>Note:</strong> "SDV @Model.BetaVersion only" lines are for an unreleased version of the game, not the stable version most players have. If a mod doesn't have that line, the info applies to both versions of the game.</p>
+ <p id="beta-blurb" v-show="showAdvanced"><strong>Note:</strong> "@betaLabel" lines are for an unreleased version of SMAPI, not the stable version most players have. If a mod doesn't have that line, the info applies to both versions of SMAPI.</p>
}
</div>
@@ -97,7 +100,7 @@ else
<td>
<div v-html="mod.Compatibility.Summary"></div>
<div v-if="mod.BetaCompatibility" v-show="showAdvanced">
- <strong v-if="mod.BetaCompatibility">SDV @Model.BetaVersion only:</strong>
+ <strong v-if="mod.BetaCompatibility">@betaLabel:</strong>
<span v-html="mod.BetaCompatibility.Summary"></span>
</div>
<div v-for="(warning, i) in mod.Warnings">⚠ {{warning}}</div>