Edit history

@if (loading()) {

Loading…

} @else if (!edits().length) {

No history.

} @else {
    @for (e of edits(); track $index) {
  1. {{ $index === edits().length - 1 ? 'Current' : 'Version ' + ($index + 1) }} @if (e.created_at) { · {{ e.created_at }} }
    @if (e.spoiler_text) {
    {{ e.spoiler_text }}
    }
  2. }
}