summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-26 12:25:25 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-26 12:25:25 -0400
commitda29f3f08f2192cdce2d3a9ed3c55680421e0caf (patch)
treedea9bf89cf4e12322960b5efa8dfc9598d51a235 /src/SMAPI.Web/Views
parentfb3b7aefa79ed9edeee85cf64004e928d203de81 (diff)
downloadSMAPI-da29f3f08f2192cdce2d3a9ed3c55680421e0caf.tar.gz
SMAPI-da29f3f08f2192cdce2d3a9ed3c55680421e0caf.tar.bz2
SMAPI-da29f3f08f2192cdce2d3a9ed3c55680421e0caf.zip
make beta download blurb configurable (#585)
Diffstat (limited to 'src/SMAPI.Web/Views')
-rw-r--r--src/SMAPI.Web/Views/Index/Index.cshtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/Index/Index.cshtml b/src/SMAPI.Web/Views/Index/Index.cshtml
index 361d01de..ce0e6275 100644
--- a/src/SMAPI.Web/Views/Index/Index.cshtml
+++ b/src/SMAPI.Web/Views/Index/Index.cshtml
@@ -26,7 +26,13 @@
@if (Model.BetaVersion != null)
{
<div class="cta-dropdown secondary-cta-dropdown">
- <a href="@Model.BetaVersion.DownloadUrl" class="secondary-cta download">Download SMAPI @Model.BetaVersion.Version<br/><small>for Stardew Valley 1.3 beta</small></a><br/>
+ <a href="@Model.BetaVersion.DownloadUrl" class="secondary-cta download">
+ Download SMAPI @Model.BetaVersion.Version
+ @if (!string.IsNullOrWhiteSpace(Model.BetaBlurb))
+ {
+ <br/><small>@Model.BetaBlurb</small>
+ }
+ </a><br/>
<div class="dropdown-content">
<a href="https://www.nexusmods.com/stardewvalley/mods/2400"><img src="Content/images/nexus-icon.png" /> Download from Nexus</a>
<a href="@Model.BetaVersion.DownloadUrl"><img src="Content/images/direct-download-icon.png" /> Direct download</a>