diff --git a/config/locales/en.yml b/config/locales/en.yml index aff68b9445..def698224d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1133,10 +1133,13 @@ en: logged_out: "Successfully logged out." notes_controller: research_notes: "Research notes" - thank_you_for_contribution: "Success! Thank you for contributing open research, - and thanks for your patience while your post is approved by community - moderators and we'll email you when it is published. In the meantime, if - you have more to contribute, feel free to do so." + thank_you_for_contribution: | +

Success! You did it! Hooray!

+
+

Thank you so much for contributing open research and being part of our community.

+

Here's what's happening now:

+
+

Your first contribution is awaiting approval by community moderators. If you have asked an urgent question about an environmental concern, we will prioritize reviewing it. Thank you for your patience, in the next hours your contribution should be public. We will email you when it is published. In the meantime, if you have more to contribute, feel free to do so. Visit the Welcome Page to discover more ways to connect.

thank_you_for_question: "Success! Thank you for contributing with a question, and thanks for your patience while your question is approved by community moderators and we'll email you when it is published." diff --git a/test/functional/notes_controller_test.rb b/test/functional/notes_controller_test.rb index 0952b864d0..cadff06082 100644 --- a/test/functional/notes_controller_test.rb +++ b/test/functional/notes_controller_test.rb @@ -309,8 +309,7 @@ def teardown tags: 'balloon-mapping,event' } # , :main_image => "/images/testimage.jpg" - - assert_equal "Success! Thank you for contributing open research, and thanks for your patience while your post is approved by community moderators and we'll email you when it is published. In the meantime, if you have more to contribute, feel free to do so.", flash[:notice] + assert_equal "

Success! You did it! Hooray!

\n
\n

Thank you so much for contributing open research and being part of our community.

\n

Here's what's happening now:

\n
\n

Your first contribution is awaiting approval by community moderators. If you have asked an urgent question about an environmental concern, we will prioritize reviewing it. Thank you for your patience, in the next hours your contribution should be public. We will email you when it is published. In the meantime, if you have more to contribute, feel free to do so. Visit the Welcome Page to discover more ways to connect.

\n", flash[:notice] assert_nil flash[:warning] # no double notice assert_equal 4, Node.last.status assert_equal title, Node.last.title