From bb17771a03a4622b518a4f6e8db9588e08c2dcde Mon Sep 17 00:00:00 2001 From: farhatahmad <35435341+farhatahmad@users.noreply.github.com> Date: Tue, 25 Jun 2019 22:34:16 -0400 Subject: [PATCH] Removed recording warning on room delete if there are no recordings (#577) --- app/views/shared/modals/_delete_room_modal.html.erb | 7 ++++++- config/locales/en.yml | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/shared/modals/_delete_room_modal.html.erb b/app/views/shared/modals/_delete_room_modal.html.erb index 8db78538..27f92853 100644 --- a/app/views/shared/modals/_delete_room_modal.html.erb +++ b/app/views/shared/modals/_delete_room_modal.html.erb @@ -32,7 +32,12 @@ diff --git a/config/locales/en.yml b/config/locales/en.yml index 6ac59f66..0a38ef1f 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -249,7 +249,8 @@ en: confirm: Are you sure you want to delete %{room}? delete: I'm sure, delete this room. keep: On second thought, I'll keep it. - warning: You will not be able to recover this room or any of its %{recordings_num} associated recordings. + warning: You will not be able to recover this room + recording_warning: or any of its %{recordings_num} associated recordings. invite_user: email_placeholder: Enter the user's email footer: The user will receive an email with instructions on how to sign up