Problem/Motivation

When i visit the comparison page (route: diff.revisions_diff), i can see the comparison.

But then i am a little bit lost. There is no possibility to get back to the overview page.

Proposed resolution

Add a "Back to overview" button

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chr.fritsch created an issue. See original summary.

chr.fritsch’s picture

Status: Active » Needs review
FileSize
720 bytes

Here is the patch

Status: Needs review » Needs work

The last submitted patch, 2: back_button_for-2853193-2.patch, failed testing.

chr.fritsch’s picture

Status: Needs work » Needs review
FileSize
677 bytes

Maybe it's better to use javascript to get to the previous page

johnchque’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

We shouldn't use JS for going back to the overview page. And we also need tests. :)

brunodbo’s picture

Is there a common route for the entity version history page, i.e., a route we could point the back-link to? For nodes, we have entity.node.version_history, but not sure if that's a convention (entity.entity_type.version_history) across revisionable entity types.