Skip to content

Commit

Permalink
Fix active tab highlighting
Browse files Browse the repository at this point in the history
Fixes #62593
  • Loading branch information
Kagemaru committed Sep 17, 2024
1 parent 8d881f0 commit 9d4d652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/order_reports/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
%ul.nav.nav-tabs{ role: 'tablist' }
%li{ class: ('active' unless params[:closed]) }
%li{ class: ('active' unless params[:closed] == 'true') }
= link_to('Laufende', reports_orders_path)
%li{ class: ('active' if params[:closed]) }
%li{ class: ('active' if params[:closed] == 'true') }
= link_to('Abgeschlossene', reports_orders_path(closed: true))

- @title ||= 'Auftrags-Controlling'
Expand Down

0 comments on commit 9d4d652

Please sign in to comment.