summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-03 23:06:42 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-03 23:06:42 -0500
commit8ddb60cee636cc17291100c316df4786eb3bb448 (patch)
treeae86b8f6ccc482a913aeabe04b9a72dd2fa5d02e /src/SMAPI.Web/ViewModels
parent2b1f607d41b3d4d071c0db0671dbc99b6982909f (diff)
downloadSMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.tar.gz
SMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.tar.bz2
SMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.zip
move supporter list into environment config
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/IndexModel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/IndexModel.cs b/src/SMAPI.Web/ViewModels/IndexModel.cs
index 82c4e06f..450fdc0e 100644
--- a/src/SMAPI.Web/ViewModels/IndexModel.cs
+++ b/src/SMAPI.Web/ViewModels/IndexModel.cs
@@ -15,6 +15,9 @@ namespace StardewModdingAPI.Web.ViewModels
/// <summary>A short sentence shown under the beta download button, if any.</summary>
public string BetaBlurb { get; set; }
+ /// <summary>A list of supports to credit on the main page, in Markdown format.</summary>
+ public string SupporterList { get; set; }
+
/*********
** Public methods
@@ -26,11 +29,13 @@ namespace StardewModdingAPI.Web.ViewModels
/// <param name="stableVersion">The latest stable SMAPI version.</param>
/// <param name="betaVersion">The latest prerelease SMAPI version (if newer than <paramref name="stableVersion"/>).</param>
/// <param name="betaBlurb">A short sentence shown under the beta download button, if any.</param>
- internal IndexModel(IndexVersionModel stableVersion, IndexVersionModel betaVersion, string betaBlurb)
+ /// <param name="supporterList">A list of supports to credit on the main page, in Markdown format.</param>
+ internal IndexModel(IndexVersionModel stableVersion, IndexVersionModel betaVersion, string betaBlurb, string supporterList)
{
this.StableVersion = stableVersion;
this.BetaVersion = betaVersion;
this.BetaBlurb = betaBlurb;
+ this.SupporterList = supporterList;
}
}
}