Skip to content

Commit

Permalink
Merge pull request #280 from czqoocavatsim/JoshuaNeedsCoffee
Browse files Browse the repository at this point in the history
Joshua needs coffee
  • Loading branch information
JoshuaMicallefYBSU authored Aug 15, 2024
2 parents cf7914b + 124a65e commit cff9b51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/DiscordTestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function ThreadTest()
{
//New Applicant in Instructor Channel
$discord = new DiscordClient();
$discord->createTrainingThread('1273181022699130902', 'Joshua Micallef 1342084', '<@200426385863344129>');
$discord->createTrainingThread('1273228164255977492', 'Joshua Micallef 1342084', '<@200426385863344129>');
}

public function EditTagTest()
Expand Down
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
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

// Discord shortcut
Route::get('/discord', [DiscordController::class, 'joinShortcut']);
Route::get('/discord/function-test', [DiscordTestController::class, 'sendEmbed']);
Route::get('/discord/function-test', [DiscordTestController::class, 'ThreadTest']);

// Public news articles
Route::get('/news/{id}', [NewsController::class, 'viewArticlePublic'])->name('news.articlepublic')->where('id', '[0-9]+');
Expand Down

0 comments on commit cff9b51

Please sign in to comment.