diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-25 21:34:33 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-26 00:11:03 +0000 |
commit | b3c9cba6478dc16d135313aa6d0adcc02d67ece6 (patch) | |
tree | 508ef236dc805b950fedeeca7f8dd3559d66a162 /views/event.handlebars | |
parent | afd9fc4477fff90e5db917f350d99c3d01fba2bd (diff) |
feat: optional public events/groups
Diffstat (limited to 'views/event.handlebars')
-rwxr-xr-x | views/event.handlebars | 3 |
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"); } |