summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/JsonValidator/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/JsonValidator/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/JsonValidator/Index.cshtml')
-rw-r--r--src/SMAPI.Web/Views/JsonValidator/Index.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
index 7b89a23d..1db79857 100644
--- a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
+++ b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
@@ -76,7 +76,7 @@ else if (!Model.IsEditView && Model.PasteID != null)
<div class="save-metadata" v-pre>
@if (Model.Expiry != null)
{
- <text>This JSON file will expire in @((DateTime.UtcNow - Model.Expiry.Value).Humanize()). </text>
+ <text>This JSON file will expire in @((DateTime.UtcNow - Model.Expiry.Value).Humanize()) (<a href="@(this.Url.PlainAction("Index", "JsonValidator", new { schemaName = this.Model.SchemaName, id = this.Model.PasteID, operation = "renew" }))">renew</a>).</text>
}
<!--@Model.UploadWarning-->
</div>