diff --git a/lib/Vroom/Constants.pm b/lib/Vroom/Constants.pm index cc234e6..3198f57 100644 --- a/lib/Vroom/Constants.pm +++ b/lib/Vroom/Constants.pm @@ -115,7 +115,6 @@ use constant JS_STRINGS => qw( OWNER_PASSWORD_CHANGED_BY_s OWNER_PASSWORD_REMOVED_BY_s SCREEN_s - TO_INVITE_SHARE_THIS_URL NO_SOUND_DETECTED DISPLAY_NAME_TOO_LONG s_IS_MUTING_YOU diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index ec8f20b..69a259e 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -62,8 +62,6 @@ our %Lexicon = ( "CHOOSE_ANOTHER_NAME" => "Choose another name", "ROOM_s" => "room %s", "INVITE_PEOPLE" => "Invite other people", - "TO_INVITE_SHARE_THIS_URL" => "Send this address to anyone and he will be able to join this room", - "YOU_CAN_INVITE_BY_MAIL" => "You can also directly send an invitation by email", "EMAIL_PLACEHOLDER" => "j.smith\@example.com", "ERROR_INVITATION_INVALID" => "This link is invalid, your invitation has probably expired, or you've already responded", "MESSAGE_SENT" => "Message sent", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index bdf0eb1..682beed 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -67,8 +67,6 @@ our %Lexicon = ( "CHOOSE_ANOTHER_NAME" => "Choisir un autre nom", "ROOM_s" => "Salon %s", "INVITE_PEOPLE" => "Inviter des participants", - "TO_INVITE_SHARE_THIS_URL" => "Envoyez cette adresse à d'autres personnes pour qu'elles vous rejoignent", - "YOU_CAN_INVITE_BY_MAIL" => "Vous pouvez aussi envoyer une invitation par email", "SEND_INVITE" => "Envoyer une invitation par mail", "RECIPIENT" => "Destinataire", "EMAIL_PLACEHOLDER" => "j.smith\@exemple.com", diff --git a/public/js/vroom.js b/public/js/vroom.js index 913a00e..fa29e30 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -72,12 +72,6 @@ $('#switch_lang').change(function(){ // Define a few functions // -// Popup with the URL to share -function inviteUrlPopup(){ - window.prompt(locale.TO_INVITE_SHARE_THIS_URL, window.location.href); - return false; -} - // Add a new email address to be notified when someone joins // This only add the email address on the interface function addNotifiedEmail(email){ @@ -2261,10 +2255,6 @@ function initVroom(room) { $('#helpButton').removeClass('active'); }); - // Show the invite by email dialog - $('#showEmailInvite').click(function(){ - $('#emailInviteModal').modal('show'); - }); // Display the wipe data modal $('#wipeDataButton').click(function(){ $('#wipeModal').modal('show'); diff --git a/templates/default/invite_modal.html.ep b/templates/default/invite_modal.html.ep index a300b63..1c37e40 100644 --- a/templates/default/invite_modal.html.ep +++ b/templates/default/invite_modal.html.ep @@ -1,4 +1,4 @@ -