diff --git a/app/resources/locales/en_US/field.po b/app/resources/locales/en_US/field.po index 6c8e2178c..d171991fe 100644 --- a/app/resources/locales/en_US/field.po +++ b/app/resources/locales/en_US/field.po @@ -59,8 +59,8 @@ msgstr "Actor Identifier" msgid "changelog.deleted" msgstr "Deleted" -msgid "changelog.parent" -msgstr "Parent Record ID" +msgid "changelog.active" +msgstr "Active Record ID" msgid "changelog.revision" msgstr "Revision" diff --git a/app/templates/element/changelog.php b/app/templates/element/changelog.php index 0adf91c09..c3820d614 100644 --- a/app/templates/element/changelog.php +++ b/app/templates/element/changelog.php @@ -92,11 +92,12 @@ actor_identifier ?> - + Html->link( $archive->id, - ['action' => 'view', $archive->id] + ['action' => 'view', $archive->id], + ['class' => 'row-link'] ) ?> revision ?> @@ -119,16 +120,16 @@
actor_identifier ?>
-
  • -
    -
    +
  • +
    +
  • diff --git a/app/templates/element/javascript.php b/app/templates/element/javascript.php index 52a17e187..408305896 100644 --- a/app/templates/element/javascript.php +++ b/app/templates/element/javascript.php @@ -386,6 +386,12 @@ } $('#changelog accordion-button').toggle(); }); + + $('button.changelog-active-link-button').click(function(e) { + // Get the anchor from active link + const activeLinkUrl = $('a.changelog-active-link').attr('href'); + window.location.href = activeLinkUrl; + }); // SETTINGS (from User Menu) // Dark Mode toggles (auto is default) diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index fb5b4721e..144fdff64 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -2831,6 +2831,12 @@ html.density-large .field-data { #changelog .accordion-body li:first-child { border-top: none; } +.changelog-active-link-container { + display: flex; + gap: 1rem; + justify-content: space-between; + align-items: center; +} /* FOOTER */ footer { text-align: center;