X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9748ce301c9488b9cd32439448770c3d4a38ebd6..84a9d7117dbf2563e734e14e69b4dbacb17f67e6:/app/views/notes/new.html.erb diff --git a/app/views/notes/new.html.erb b/app/views/notes/new.html.erb index 7b3b807e3..5be707dfe 100644 --- a/app/views/notes/new.html.erb +++ b/app/views/notes/new.html.erb @@ -3,15 +3,29 @@ <%= render "sidebar_header", :title => t(".title") %>
<%= t("javascripts.notes.new.intro") %>
+<%= 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"), 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 %> +<%= t "javascripts.site.createnote_disabled_tooltip" %>