diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1aba01f1d..98335d46f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -62,6 +62,7 @@ - rfe: Move hardcoded words to i18n - rfe: Better info for Assets that require commit before adding children. Add link is always availble now. If the asset has not yet been committed an error is displayed. - rfe: Add template variables for every property of all assets referenced in the Navigation. + - rfe: Add edit button to Manage Revisions page 7.5.22 - fixed: Layout template now gets prepared correctly diff --git a/lib/WebGUI/AssetVersioning.pm b/lib/WebGUI/AssetVersioning.pm index a7317b250..2dc8b6479 100644 --- a/lib/WebGUI/AssetVersioning.pm +++ b/lib/WebGUI/AssetVersioning.pm @@ -555,7 +555,8 @@ sub www_manageRevisions { while (my ($date,$by,$tag,$tagId) = $sth->array) { $output .= '' .$self->session->icon->delete("func=purgeRevision;revisionDate=".$date,$self->get("url"),$i18n->get("purge revision prompt")) - .$self->session->icon->view("func=view;revision=".$date) + .$self->session->icon->view( "func=view;revision=" . $date ) + .$self->session->icon->edit( "func=edit;revision=" . $date ) .' '.$self->session->datetime->epochToHuman($date).' '.$by.'