summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/LogParser/Index.cshtml
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-13 11:59:17 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-13 11:59:17 -0400
commit4189e2f3faa9197e83aebd32fc0af93d46ee1a61 (patch)
tree246ef5864f8fa54efc22796754595a19a3e58343 /src/SMAPI.Web/Views/LogParser/Index.cshtml
parent98dbc68396da23298bfb437fa907336e6229b2aa (diff)
downloadSMAPI-4189e2f3faa9197e83aebd32fc0af93d46ee1a61.tar.gz
SMAPI-4189e2f3faa9197e83aebd32fc0af93d46ee1a61.tar.bz2
SMAPI-4189e2f3faa9197e83aebd32fc0af93d46ee1a61.zip
add support for renewing uploaded JSON/log files
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser/Index.cshtml')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index 71e12d47..d4ff4f10 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -78,7 +78,7 @@ else if (Model.ParsedLog?.IsValid == true)
<div class="save-metadata" v-pre>
@if (Model.Expiry != null)
{
- <text>This log will expire in @((DateTime.UtcNow - Model.Expiry.Value).Humanize()).</text>
+ <text>This log will expire in @((DateTime.UtcNow - Model.Expiry.Value).Humanize()) (<a href="@(this.Url.PlainAction("Index", "LogParser", new { id = this.Model.PasteID, renew = true }))">renew</a>).</text>
}
</div>
}