X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a5c9a8052489c04a64856c2f0579647a1637326..0f2df0b9efcfff1d6bb0f7b2d16fa23f85d8708d:/app/views/notes/new.html.erb?ds=sidebyside diff --git a/app/views/notes/new.html.erb b/app/views/notes/new.html.erb index 6728b32ff..5be707dfe 100644 --- a/app/views/notes/new.html.erb +++ b/app/views/notes/new.html.erb @@ -5,17 +5,26 @@

<%= t(".intro") %>

<% if !current_user %> -

<%= 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"), user_new_path) %>

+
+

<%= 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 %> +

<%= 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 %> +
<% end %> +
-
+
" disabled="1" class="btn btn-primary">