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