Skip to content

Commit f19b44d

Browse files
committed
small UI improvements
1 parent 15e1149 commit f19b44d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/resources/views/inc/revision_timeline.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88

99
@foreach($dateRevisions as $history)
1010
<li class="timeline-item-wrap">
11-
<i class="fa fa-calendar bg-blue"></i>
11+
<i class="fa fa-calendar bg-default"></i>
1212
<div class="timeline-item">
1313
<span class="time"><i class="fa fa-clock-o"></i> {{ date('h:ia', strtotime($history->created_at)) }}</span>
1414
@if($history->key == 'created_at' && !$history->old_value)
1515
<h3 class="timeline-header">{{ $history->userResponsible()->name }} {{ trans('backpack::crud.created_this') }} {{ $crud->entity_name }}</h3>
1616
@else
1717
<h3 class="timeline-header">{{ $history->userResponsible()->name }} {{ trans('backpack::crud.changed_the') }} {{ $history->fieldName() }}</h3>
1818
<div class="timeline-body">
19-
<b>{{ trans('backpack::crud.from') }}: {{ $history->oldValue() }}</b>
20-
<br><br>
21-
{{ trans('backpack::crud.to') }}: {{ $history->newValue() }}
19+
{{ ucfirst(trans('backpack::crud.from')) }}: <b>{{ $history->oldValue() }}</b>
20+
<br>
21+
{{ ucfirst(trans('backpack::crud.to')) }}: {{ $history->newValue() }}
2222
</div>
2323
<div class="timeline-footer">
2424
{!! Form::open(array('url' => \Request::url().'/'.$history->id.'/restore', 'method' => 'post')) !!}

0 commit comments

Comments
 (0)