From 886f69ec5aa490c469dcffd12c9b70e6d18c7a21 Mon Sep 17 00:00:00 2001
From: Samuel Couillard <43917914+scouillard@users.noreply.github.com>
Date: Thu, 22 Jun 2023 13:38:46 -0400
Subject: [PATCH] Add buttons, fix typos (#5279)

---
 app/assets/locales/en.json                                 | 4 ++--
 .../rooms/room/public_recordings/PublicRecordingsList.jsx  | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/app/assets/locales/en.json b/app/assets/locales/en.json
index da2e688e..e7df24ed 100644
--- a/app/assets/locales/en.json
+++ b/app/assets/locales/en.json
@@ -179,9 +179,9 @@
     "processing_recording": "Processing recording, this may take several minutes...",
     "copy_recording_urls": "Copy Recording Url(s)",
     "recordings_list_empty": "You don't have any recordings yet!",
-    "public_recordings_list_empty": "There's no shared recordings yet!",
+    "public_recordings_list_empty": "There are no public recordings yet!",
     "recordings_list_empty_description": "Recordings will appear here after you start a meeting and record it.",
-    "public_recordings_list_empty_description": "Recordings will appear here after a mentor share it.",
+    "public_recordings_list_empty_description": "Recordings will appear here when available.",
     "delete_recording": "Delete Recording",
     "are_you_sure_delete_recording": "Are you sure you want to delete this recording?",
     "search_not_found": "No Recordings Found"
diff --git a/app/javascript/components/rooms/room/public_recordings/PublicRecordingsList.jsx b/app/javascript/components/rooms/room/public_recordings/PublicRecordingsList.jsx
index 11fd08d8..eac17671 100644
--- a/app/javascript/components/rooms/room/public_recordings/PublicRecordingsList.jsx
+++ b/app/javascript/components/rooms/room/public_recordings/PublicRecordingsList.jsx
@@ -45,6 +45,13 @@ export default function PublicRecordingsList({ friendlyId }) {
         <p>
           {t('recording.public_recordings_list_empty_description')}
         </p>
+        <ButtonLink
+          variant="brand"
+          className="ms-auto my-0 py-2"
+          to={`/rooms/${friendlyId}/join`}
+        >
+          <span> <UserBoardIcon className="hi-s cursor-pointer" /> {t('join_session')} </span>
+        </ButtonLink>
       </div>
     );
   }
-- 
GitLab