diff --git a/src/BirdsiteLive/Services/CachedStatisticsService.cs b/src/BirdsiteLive/Services/CachedStatisticsService.cs index f9ca9fa..66487a6 100644 --- a/src/BirdsiteLive/Services/CachedStatisticsService.cs +++ b/src/BirdsiteLive/Services/CachedStatisticsService.cs @@ -39,7 +39,8 @@ namespace BirdsiteLive.Services { RefreshedTime = DateTime.UtcNow, Saturation = saturation, - UnlistedUsers = _instanceSettings.UnlistedTwitterAccounts.Length > 0 ? string.Join("\n", _instanceSettings.UnlistedTwitterAccounts.Split(";").Select(i => "
  • " + i + "
  • ")) : "(none)" + UnlistedUsers = _instanceSettings.UnlistedTwitterAccounts.Length > 0 ? string.Join("\n", _instanceSettings.UnlistedTwitterAccounts.Split(";").Select(i => "
  • " + i + "
  • ")) : "(none)", + Settings = _instanceSettings }; } @@ -52,5 +53,6 @@ namespace BirdsiteLive.Services public DateTime RefreshedTime { get; set; } public int Saturation { get; set; } public string UnlistedUsers { get; set; } + public InstanceSettings Settings { get; set; } } } \ No newline at end of file diff --git a/src/BirdsiteLive/Views/About/Index.cshtml b/src/BirdsiteLive/Views/About/Index.cshtml index d540115..f471724 100644 --- a/src/BirdsiteLive/Views/About/Index.cshtml +++ b/src/BirdsiteLive/Views/About/Index.cshtml @@ -6,6 +6,20 @@

    About

    + @if (Model.Settings.MaxFollowsPerUser > 0) + { +
    + In order to keep this service available to everyone, users are only permitted to follow @Model.Settings.MaxFollowsPerUser account(s). Any additional follows will be rejected. +
    + } + + @if (Model.Settings.InfoBanner.Length > 0) + { +
    + @Html.Raw(Model.Settings.InfoBanner) +
    + } +

    What is this site?

    @@ -34,7 +48,9 @@

    What does "instance saturation" mean?

    - This instance's saturation level is currently at @Model.Saturation%.

    + This instance's saturation level is currently at @Model.Saturation%. + +

    This instance relies on a tool Twitter provides (the API) to fetch Tweets in a predictable and high-quality manner. However, due to limits imposed by Twitter, this instance can only fetch so many Tweets and users per hour.

    diff --git a/src/BirdsiteLive/Views/Home/Index.cshtml b/src/BirdsiteLive/Views/Home/Index.cshtml index d275a65..5a75b59 100644 --- a/src/BirdsiteLive/Views/Home/Index.cshtml +++ b/src/BirdsiteLive/Views/Home/Index.cshtml @@ -19,6 +19,13 @@

    + @if( Model.MaxFollowsPerUser > 0) + { +

    + In order to keep this service available to everyone, users are only permitted to follow @Model.MaxFollowsPerUser account(s). Any additional follows will be rejected. For more information, see our about page. +
    + } + @if (Model.InfoBanner.Length > 0) {