Skip to content
Snippets Groups Projects
Commit 74354ffa authored by Thibault Debatty's avatar Thibault Debatty
Browse files

show report time

parent 3b4dce86
No related branches found
No related tags found
No related merge requests found
Pipeline #20220 passed
......@@ -86,4 +86,9 @@ class Report extends Model implements HasStatus
{
return $this->html;
}
public function time() : string
{
return date("Y-m-d H:i:s", $this->time);
}
}
......@@ -95,6 +95,9 @@ window.monitorServerToken = "{{ $server->read_token }}";
href="{{ action("RecordController@show", ["record" => $report->record_id]) }}">
<i class="fas fa-search"></i>
</a>
<span class="badge badge-secondary">
<i class="far fa-clock"></i> {{ $report->time() }}
</span>
{!! $report->status()->badge() !!}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment