FEATURE: add links from history detail back to edit form

This commit is contained in:
Michal Kváček
2016-03-11 15:48:15 +01:00
parent 9f5bd46ca3
commit d0601c4fdd
3 changed files with 13 additions and 4 deletions
+1
View File
@@ -13,5 +13,6 @@ return [
'diff' => 'Difference', 'diff' => 'Difference',
'diffPageName' => 'Difference of :column', 'diffPageName' => 'Difference of :column',
'backToOverview' => 'Back to history overview', 'backToOverview' => 'Back to history overview',
'backToEdit' => 'Back to editation form'
]; ];
@@ -17,5 +17,9 @@
<a href="{{route('content.history', ['id' => $change->content_id])}}" class="button success"> <a href="{{route('content.history', ['id' => $change->content_id])}}" class="button success">
@lang('admin/history.backToOverview') @lang('admin/history.backToOverview')
</a> </a>
<a href="{{route('content.edit', ['id' => $change->content_id])}}" class="button success">
@lang('admin/history.backToEdit')
</a>
</div> </div>
@stop @stop
@@ -28,4 +28,8 @@
@endforeach @endforeach
</ul> </ul>
</div> </div>
<a href="{{route('content.edit', ['id' => $page->id])}}" class="button success">
@lang('admin/history.backToEdit')
</a>
@stop @stop