mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Update _mini_leaderboard.html.erb (#341)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<div class="mini-leaderboard">
|
||||
<p class="super">
|
||||
<% if leaderboard.respond_to?(:scope_name) %>
|
||||
<strong>Showing others in <%= link_to "your timezone", my_settings_path(anchor: "user_timezone") %>
|
||||
<strong>Showing others in <%= link_to "your timezone", my_settings_path(anchor: "user_timezone"), data: { turbo: false } %></strong>
|
||||
<% else %>
|
||||
This leaderboard is in <%= Leaderboard::GLOBAL_TIMEZONE %>.
|
||||
<% if current_user && timezone_difference_in_seconds(Leaderboard::GLOBAL_TIMEZONE, current_user.timezone) != 0 %>
|
||||
|
||||
Reference in New Issue
Block a user