From 36e15a52e45aa586390ddf22ec9e82284ffa10b5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 17 Jun 2019 13:00:52 -0600 Subject: [PATCH] Closes #1412 --- .../views/settings/applications.blade.php | 23 +++++++++++-------- resources/views/settings/developers.blade.php | 20 +++++++++------- .../views/settings/partial/sidebar.blade.php | 3 +++ 3 files changed, 28 insertions(+), 18 deletions(-) diff --git a/resources/views/settings/applications.blade.php b/resources/views/settings/applications.blade.php index b0fa94d18..be40dfdf7 100644 --- a/resources/views/settings/applications.blade.php +++ b/resources/views/settings/applications.blade.php @@ -2,20 +2,23 @@ @section('section') -
-

Applications

-
-
- - - +
+

Applications

+
+
+@if(config('pixelfed.oauth_enabled') == true) + + +@else +

OAuth has not been enabled on this instance.

+@endif @endsection @push('scripts') @endpush \ No newline at end of file diff --git a/resources/views/settings/developers.blade.php b/resources/views/settings/developers.blade.php index 0caf99afa..14f80094e 100644 --- a/resources/views/settings/developers.blade.php +++ b/resources/views/settings/developers.blade.php @@ -2,19 +2,23 @@ @section('section') -
-

Developers

-
-
- +
+

Developers

+
+
+@if(config('pixelfed.oauth_enabled') == true) + +@else +

OAuth has not been enabled on this instance.

+@endif @endsection @push('scripts') @endpush \ No newline at end of file diff --git a/resources/views/settings/partial/sidebar.blade.php b/resources/views/settings/partial/sidebar.blade.php index 68fd09e83..32f4ff6cd 100644 --- a/resources/views/settings/partial/sidebar.blade.php +++ b/resources/views/settings/partial/sidebar.blade.php @@ -43,6 +43,7 @@ Data Export + @if(config('pixelfed.oauth_enabled') == true) @@ -52,6 +53,8 @@ + @endif +