summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Mods/Index.cshtml
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-01-14 22:02:19 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-02-07 22:41:05 -0500
commitce55c988d1a7e7e5b622b2437e1249726536a367 (patch)
tree983351a97879e0fd30837856a59908e93eb62d8d /src/SMAPI.Web/Views/Mods/Index.cshtml
parent3c3aac382a2f4bb79b8c5aaa87def9a2574b6361 (diff)
downloadSMAPI-ce55c988d1a7e7e5b622b2437e1249726536a367.tar.gz
SMAPI-ce55c988d1a7e7e5b622b2437e1249726536a367.tar.bz2
SMAPI-ce55c988d1a7e7e5b622b2437e1249726536a367.zip
update mod compatibility list to recognise SMAPI 3.0 URLs for non-soon statuses
Diffstat (limited to 'src/SMAPI.Web/Views/Mods/Index.cshtml')
-rw-r--r--src/SMAPI.Web/Views/Mods/Index.cshtml10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/SMAPI.Web/Views/Mods/Index.cshtml b/src/SMAPI.Web/Views/Mods/Index.cshtml
index a6c94cf1..92637f01 100644
--- a/src/SMAPI.Web/Views/Mods/Index.cshtml
+++ b/src/SMAPI.Web/Views/Mods/Index.cshtml
@@ -93,12 +93,10 @@
<span v-else class="mod-closed-source">no source</span>
</td>
<td v-show="showAdvanced">
- <template v-if="mod.LatestCompatibility.Status == 'ok' || mod.LatestCompatibility.Status == 'unofficial' || mod.Smapi3Status == 'ok' || mod.Smapi3Status == 'soon'">
- <small v-if="mod.Smapi3Status == 'ok'">✓</small>
- <small v-else-if="mod.Smapi3Status == 'broken'">✖</small>
- <small v-else-if="mod.Smapi3Status == 'soon' && mod.Smapi3Url"><a v-bind:href="mod.Smapi3Url">↻ soon</a></small>
- <small v-else>↻ {{mod.Smapi3Status}}</small>
- </template>
+ <small v-if="mod.LatestCompatibility.Status == 'ok' || mod.LatestCompatibility.Status == 'unofficial' || mod.Smapi3Status == 'ok' || mod.Smapi3Status == 'soon' || mod.Smapi3Url">
+ <a v-if="mod.Smapi3Url" v-bind:href="mod.Smapi3Url">{{mod.Smapi3DisplayText}}</a>
+ <template v-else>{{mod.Smapi3DisplayText}}</template>
+ </small>
</td>
<td>
<small><a v-bind:href="'#' + mod.Slug">#</a></small>