@AntonKhorev commented on this pull request.
> @@ -5,9 +5,17 @@
<div class="note">
<p class="alert alert-info"><%= t(".intro") %></p>
<% if !current_user %>
- <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) %></p>
+ <div class="alert alert-warning pb-0">
+ <p><%= 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)
%></p>
+ <% if @anonymous_notes_count > 10 %>
+ <p><%= t ".counter_warning_html",
+ :x_anonymous_notes => t(".x_anonymous_notes", :count =>
@anonymous_notes_count),
The message is still wrong, see the second paragraph of
https://github.com/openstreetmap/openstreetmap-website/pull/5468#discussion_r1908778180.
```suggestion
:x_anonymous_notes => t(".x_anonymous_notes", :count =>
@anonymous_notes_count - 1),
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#pullrequestreview-2545410953
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5468/review/2545410...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev