[openstreetmap/openstreetmap-website] display an encouragement to contribute after many anonymous notes (PR #5468)

etiennejourdier notifications at github.com
Fri Jan 10 22:23:07 UTC 2025


@etiennejourdier commented on this pull request.



> +    <p class="alert alert-warning">
+      <%= t ".anonymous_warning_html",
+            :log_in => link_to(t(".anonymous_warning_log_in"), login_path(:referer => new_note_path)),
+            :sign_up => link_to(t(".anonymous_warning_sign_up"), new_user_path) %>
+    <% if @anonymous_notes_count >= 10 %>
+      <br><%= t ".counter_warning_html",
+                :x_anonymous_notes => t(".x_anonymous_notes", :count => @anonymous_notes_count),
+                :contribute_by_yourself => link_to(t(".counter_warning_guide_link.text"), t(".counter_warning_guide_link.url")),
+                :community_can_help => link_to(t(".counter_warning_forum_link.text"), t(".counter_warning_forum_link.url")) %>
+    <% end %>
+    </p>

good idea, I've modified it

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#discussion_r1911555782
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5468/review/2544104714 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250110/402e35b2/attachment.htm>


More information about the rails-dev mailing list