From 1d5c59a37e9530782961426f7f98ae0d1fa4a1d3 Mon Sep 17 00:00:00 2001 From: Herpaderp Aldent Date: Sun, 13 Jan 2019 11:26:51 +0100 Subject: [PATCH] Version 1.0.8 * Appropriate form ids to enable user to subscribe to channels --- src/config/seatnotifications.config.php | 2 +- .../views/refresh_token/channel.blade.php | 106 ++++++++++-------- 2 files changed, 58 insertions(+), 50 deletions(-) diff --git a/src/config/seatnotifications.config.php b/src/config/seatnotifications.config.php index 8e66340..be84901 100644 --- a/src/config/seatnotifications.config.php +++ b/src/config/seatnotifications.config.php @@ -6,5 +6,5 @@ * Time: 10:24. */ return [ - 'version' => '1.0.7', + 'version' => '1.0.8', ]; diff --git a/src/resources/views/refresh_token/channel.blade.php b/src/resources/views/refresh_token/channel.blade.php index 62fc553..a7f144c 100644 --- a/src/resources/views/refresh_token/channel.blade.php +++ b/src/resources/views/refresh_token/channel.blade.php @@ -1,15 +1,17 @@ @inject('RefreshTokenController', 'Herpaderpaldent\Seat\SeatNotifications\Http\Controllers\Notifications\RefreshTokenController') @if( $RefreshTokenController->isDisabledButton('discord','channel') ) - - Discord - + + Discord + @elseif(! $RefreshTokenController->isSubscribed(auth()->user()->group, 'discord', true)) - + Discord @else - + Discord @@ -20,57 +22,62 @@ Slack @elseif(! $RefreshTokenController->isSubscribed(auth()->user()->group, 'slack', true) ) - + Slack @else - + Slack @endif -