summaryrefslogtreecommitdiff
path: root/views/event.handlebars
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2024-02-26 15:06:01 +0000
committerGitHub <noreply@github.com>2024-02-26 15:06:01 +0000
commitde688444d167fdb80c6e88b8ba837405ba7651a6 (patch)
tree051fa37a2fe30052254bf79a60bd870667fcc0b7 /views/event.handlebars
parentafd9fc4477fff90e5db917f350d99c3d01fba2bd (diff)
parent1275280a9e3a31f6080079d564a8fb9e1847db8b (diff)
Merge pull request #135 from lowercasename/rk/public-events
Events and groups optionally visible on front page
Diffstat (limited to 'views/event.handlebars')
-rwxr-xr-xviews/event.handlebars3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/event.handlebars b/views/event.handlebars
index 4402578..44c2f4b 100755
--- a/views/event.handlebars
+++ b/views/event.handlebars
@@ -109,7 +109,7 @@
{{#if eventHasConcluded}}
<div class="alert alert-warning mb-4" role="alert">
- This event has concluded. It can no longer be edited, and will be automatically deleted <span class="daysToDeletion"></span>.
+ This event has concluded. It can no longer be edited{{#if eventWillBeDeleted}}, and will be automatically deleted {{daysUntilDeletion}}{{/if}}.
</div>
{{/if}}
{{#if firstLoad}}
@@ -523,7 +523,6 @@ window.eventData = {{{ json jsonData }}};
$(this).html('<i class="fas fa-copy"></i> Copied!');
setTimeout(function(){ $("#copyAPLink").html('<i class="fas fa-copy"></i> Copy');}, 5000);
})
- $(".daysToDeletion").html(moment("{{eventEndISO}}").add(7, 'days').fromNow());
if ($("#joinCheckbox").is(':checked')){
$("#maxAttendeesCheckboxContainer").css("display","flex");
}