From 5b25822ce13fcdd18bfaa8e6a96a72f602a17510 Mon Sep 17 00:00:00 2001 From: Michelle Date: Thu, 13 Oct 2022 12:38:09 -0400 Subject: [PATCH] show revised due date --- app/views/extensions/index.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/extensions/index.html.erb b/app/views/extensions/index.html.erb index 6602eccb5..558bbfafc 100755 --- a/app/views/extensions/index.html.erb +++ b/app/views/extensions/index.html.erb @@ -122,7 +122,8 @@ Email - Length + Length + New Due Date @@ -136,6 +137,7 @@ ><%= ext.course_user_datum.email %> <%= ext.infinite? ? "Infinite" : "#{pluralize(ext.days, "day")}" %> + <%= ext.infinite? ? "-" : "#{(@assessment.due_at + ext.days.days).strftime('%m-%d-%Y')}" %> <%= link_to 'delete'.html_safe, [@course, @assessment, ext], data: { confirm: 'Are you sure you want to delete the extension for user ' + ext.course_user_datum.email + '?' }, method: :delete %>