FEATURE: add links from history detail back to edit form
This commit is contained in:
@@ -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
|
||||||
@@ -20,12 +20,16 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
@foreach($changes as $change)
|
@foreach($changes as $change)
|
||||||
<div class="accordion-content" data-tab-content>
|
<div class="accordion-content" data-tab-content>
|
||||||
<strong>{{$change->column_trans}}</strong>: {!! $change->diff !!}
|
<strong>{{$change->column_trans}}</strong>: {!! $change->diff !!}
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="{{route('content.edit', ['id' => $page->id])}}" class="button success">
|
||||||
|
@lang('admin/history.backToEdit')
|
||||||
|
</a>
|
||||||
@stop
|
@stop
|
||||||
Reference in New Issue
Block a user