Merge remote-tracking branch 'upstream/pull/5459'

This commit is contained in:
Tom Hughes 2025-01-07 19:08:13 +00:00
commit c20160d313
8 changed files with 60 additions and 62 deletions

View file

@ -111,7 +111,7 @@
<% else %>
<div class="d-inline-flex btn-group login-menu" role="">
<%= link_to t("layouts.log_in"), login_path(:referer => request.fullpath), :class => "geolink btn btn-outline-secondary" %>
<%= link_to t("layouts.sign_up"), user_new_path, :class => "btn btn-outline-secondary" %>
<%= link_to t("layouts.sign_up"), new_user_path, :class => "btn btn-outline-secondary" %>
</div>
<% end %>
</nav>

View file

@ -51,7 +51,7 @@
</p>
<div class="d-flex gap-2">
<a class="btn btn-primary w-100 d-flex align-items-center justify-content-center" href="<%= about_path %>"><%= t("layouts.learn_more") %></a>
<a class="btn btn-primary w-100 d-flex align-items-center justify-content-center" href="<%= user_new_path %>"><%= t("layouts.start_mapping") %></a>
<a class="btn btn-primary w-100 d-flex align-items-center justify-content-center" href="<%= new_user_path %>"><%= t("layouts.start_mapping") %></a>
</div>
</div>
<% end %>

View file

@ -7,7 +7,7 @@
<% 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"), user_new_path) %></p>
:sign_up => link_to(t(".anonymous_warning_sign_up"), new_user_path) %></p>
<% end %>
<p class="alert alert-warning" id="new-note-zoom-warning" hidden><%= t "javascripts.site.createnote_disabled_tooltip" %></p>
<form action="#">

View file

@ -16,7 +16,7 @@
<h3 class='fs-5'><%= t ".how_to_help.join_the_community.title" %></h3>
<p><%= t ".how_to_help.join_the_community.explanation_html" %></p>
<p class='text-center'>
<a class="btn btn-primary" href="<%= user_new_path %>"><%= t("layouts.start_mapping") %></a>
<a class="btn btn-primary" href="<%= new_user_path %>"><%= t("layouts.start_mapping") %></a>
</p>
</div>
<div class='col-sm'>