diff --git a/Changelog.md b/Changelog.md index efa570700b98af8f2bd6d1e27840d9f0c6151b8d..ad06d2fae13384ca1d1835cfd67a22945399d39b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,7 @@ ## Bug fixes * Don't focus comment form on 'show n more comments' [#4265](https://github.com/diaspora/diaspora/issues/4265) * Do not render mobile photo view for none-existing photos [#4194](https://github.com/diaspora/diaspora/issues/4194) +* Disable invite button after sending invite [#4173](https://github.com/diaspora/diaspora/issues/4173) ## Features * Admin: add option to find users under 13 (COPPA) [#4252](https://github.com/diaspora/diaspora/pull/4252) diff --git a/app/views/invitations/new.html.haml b/app/views/invitations/new.html.haml index ec8f5a1b9691e050543cc2ba4322ed07d12d33eb..5b8eb88a51bfada9ddc8aa65c512eaf4444f9840 100644 --- a/app/views/invitations/new.html.haml +++ b/app/views/invitations/new.html.haml @@ -31,4 +31,4 @@ %br %p - = submit_tag t('.send_an_invitation') + = submit_tag t('.send_an_invitation'), :disable_with => t('.sending_invitation') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 3abb63d879e7a3e37494cf4f8b7eb2d29d6480f1..ed7e43c6e77ce9e7b0f58acb094a2aa7e54e1320 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -381,6 +381,7 @@ en: to: "To" personal_message: "Personal message" send_an_invitation: "Send an invitation" + sending_invitation: "Sending invitation..." send_invitation: "Send invitation" paste_link: "Share this link with your friends to invite them to Diaspora*, or email them the link directly." codes_left: