Skip to content

Commit

Permalink
Online Time - Main Page
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMicallefYBSU committed Aug 15, 2024
1 parent cb2a0df commit 124a65e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-light" data-dismiss="modal">Dismiss</button>
<a href="{{route('training.admin.instructing.students.certify', $student->user->id)}}" role="button" class="btn btn-success">Certify Controller</a>
<a disabled href="{{route('training.admin.instructing.students.certify', $student->user->id)}}" role="button" class="btn btn-success">Certify Controller</a>
</div>
</form>
</div>
Expand Down
1 change: 1 addition & 0 deletions resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class="jarallax-img">
<li>
<div class="white-text d-flex flex-row justify-content-between align-items-center">
<h4 class="font-weight-bold m-0">{{ $controller->callsign }}</h4>
<div class="my-1">{{$controller->session_start->diff(\Carbon\Carbon::now())->format('%h:%I')}} Online</div>
<div style="font-size: 1.1em;">
@if (auth()->check() && ($rosterMember = $controller->rosterMember))
<img src="{{ $rosterMember->user->avatar() }}"
Expand Down

0 comments on commit 124a65e

Please sign in to comment.