From 9252f1dd7b2a2ee89dc8b1d1f95df349822d7eba Mon Sep 17 00:00:00 2001
From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com>
Date: Thu, 6 Aug 2026 17:50:39 +0000
Subject: [PATCH] Make current tab not clickable
---
app/views/messages/mailboxes/_heading.html.erb | 2 +-
app/views/sessions/new.html.erb | 2 +-
app/views/users/blocked.html.erb | 2 +-
app/views/users/new.html.erb | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/views/messages/mailboxes/_heading.html.erb b/app/views/messages/mailboxes/_heading.html.erb
index 79b46b3d9..7ddb14fbd 100644
--- a/app/views/messages/mailboxes/_heading.html.erb
+++ b/app/views/messages/mailboxes/_heading.html.erb
@@ -10,7 +10,7 @@
<% if path == active_link_path %>
- <%= label %>
+ <%= label %>
<% else %>
<%= link_to label, path, :class => "nav-link" %>
<% end %>
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index a368657b1..a1b982f75 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -14,7 +14,7 @@
<% unless @hide_signup %>
-
- <%= link_to t("sessions.new.tab_title"), "#", :class => "nav-link active" %>
+ <%= tag.span t("sessions.new.tab_title"), :class => "nav-link active" %>
-
<%= link_to t("users.new.tab_title"), url_for(:action => :new, :controller => :users, :referer => params[:referer]), :class => "nav-link" %>
diff --git a/app/views/users/blocked.html.erb b/app/views/users/blocked.html.erb
index 2fb4d1ae4..8e5c34350 100644
--- a/app/views/users/blocked.html.erb
+++ b/app/views/users/blocked.html.erb
@@ -6,7 +6,7 @@
<%= link_to t("sessions.new.tab_title"), url_for(:action => :new, :controller => :sessions), :class => "nav-link" %>
-
- <%= link_to t("users.new.tab_title"), "#", :class => "nav-link active" %>
+ <%= tag.span t("users.new.tab_title"), :class => "nav-link active" %>
diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb
index de7e051e1..2e9558ac4 100644
--- a/app/views/users/new.html.erb
+++ b/app/views/users/new.html.erb
@@ -19,7 +19,7 @@
<%= link_to t("sessions.new.tab_title"), url_for(:action => :new, :controller => :sessions, :referer => @referer), :class => "nav-link" %>
- <%= link_to t("users.new.tab_title"), "#", :class => "nav-link active" %>
+ <%= tag.span t("users.new.tab_title"), :class => "nav-link active" %>
--
2.47.3