diff --git a/app/views/orgas/show.html.haml b/app/views/orgas/show.html.haml index 1d9bf63b..1e577b86 100644 --- a/app/views/orgas/show.html.haml +++ b/app/views/orgas/show.html.haml @@ -86,5 +86,5 @@ %em.fa.fa-backward = t '.past' %dd - = link_to tag_path @orga.name_as_tag do + = link_to tag_path(@orga.name_as_tag, anchor: 'past') do = t '.count', count: @events_past.count diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index 9cb26c89..dcf9a737 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -28,7 +28,7 @@ attributes: %w[href src width height style title name id] - if @events_past.any? - %h2 + %h2#past %em.fa.fa-backward = t '.past' \-