Skip to content

Commit

Permalink
Make See all updates link href less generic
Browse files Browse the repository at this point in the history
Using #history is too generic and causing problems as described in this
issue:

#600

Change the href to something less generic.
  • Loading branch information
danacotoran committed Jan 11, 2022
1 parent db3af4d commit eb1446f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
useful summary for people upgrading their application, not a replication
of the commit log.

## Unreleased

* Make metadata component "See all updates" link href less generic ([PR #2562](https://github.com/alphagov/govuk_publishing_components/pull/2562))

## 28.1.0

* Remove jQuery from mailto-link-tracker ([PR #2542](https://github.com/alphagov/govuk_publishing_components/pull/2542))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dd class="gem-c-metadata__definition">
<%= last_updated %>
<% if local_assigns.include?(:see_updates_link) %>
&#8212; <a href="#history" class="gem-c-metadata__definition-link govuk-!-display-none-print js-see-all-updates-link"
&#8212; <a href="#full-publication-update-history" class="gem-c-metadata__definition-link govuk-!-display-none-print js-see-all-updates-link"
data-track-category="content-history"
data-track-action="see-all-updates-link-clicked"
data-track-label="history">
Expand Down

0 comments on commit eb1446f

Please sign in to comment.