Added postedAt on the single incident page (#2795)

Added a PostedAt tooltip
This commit is contained in:
Vivek
2017-12-03 05:35:23 -05:00
committed by James Brooks
parent bf7dfe8d5d
commit 6d64ea8f12
2 changed files with 9 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ return [
'scheduled' => 'Maintenance', 'scheduled' => 'Maintenance',
'scheduled_at' => ', scheduled :timestamp', 'scheduled_at' => ', scheduled :timestamp',
'posted' => 'Posted :timestamp', 'posted' => 'Posted :timestamp',
'posted_at' => 'Posted at :timestamp',
'status' => [ 'status' => [
1 => 'Investigating', 1 => 'Investigating',
2 => 'Identified', 2 => 'Identified',

View File

@@ -35,7 +35,14 @@
{!! $update->formatted_message !!} {!! $update->formatted_message !!}
</div> </div>
</div> </div>
<div class="panel-footer"><small>{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff]) }}</small></div> <div class="panel-footer">
<small>
<span data-toggle="tooltip" title="
{{ trans('cachet.incidents.posted_at', ['timestamp' => $update->created_at_formatted]) }}">
{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff]) }}
</span>
</small>
</div>
</div> </div>
</div> </div>
</div> </div>