Added presenters and timezone locales with diff and popover

This commit is contained in:
Joseph Cohen
2015-01-07 18:48:10 -06:00
parent ff73992050
commit ffbe9b31bf
10 changed files with 169 additions and 21 deletions
+4
View File
@@ -46,6 +46,10 @@
</style>
@endif
<script type="text/javascript">
var Global = {};
Global.locale = '{{ Setting::get('app_locale') }}';
</script>
<script src="{{ elixir('js/all.js') }}"></script>
</head>
<body class="status-page">
+4 -1
View File
@@ -14,7 +14,10 @@
<div class="panel-heading">
<strong>{{ $incident->name }}</strong>
<br>
<small class="date">{{ $incident->created_at->diffForHumans() }}</small>
<small class="date">
<abbr class="timeago" tabindex="{{ $incidentID }}" data-container="body" data-toggle="popover" data-placement="right" data-trigger="focus" data-content="{{ $incident->created_at_formated }}" data-timeago="{{ $incident->created_at_iso }}">
</abbr>
</small>
</div>
@if($incident->hasMessage())
<div class="panel-body">