1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

My Account: Updated and started adding to tests

- Updated existing tests now affected by my-account changes.
- Updated some existing tests to more accuractly check the scenario.
- Updated some code styling in SocialController.
- Fixed redirects for social account flows to fit my-account.
- Added test for social account attaching.
- Added test for api token redirect handling.
This commit is contained in:
Dan Brown
2023-10-19 14:18:42 +01:00
parent 12946414b0
commit fabc854390
14 changed files with 302 additions and 227 deletions

View File

@@ -89,9 +89,9 @@
<div role="presentation">@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])</div>
<p class="my-none bold">{{ $driverName }}</p>
@if($user->hasSocialAccount($driver))
<p class="text-pos bold text-small my-none">Connected</p>
<p class="text-pos bold text-small my-none">{{ trans('settings.users_social_status_connected') }}</p>
@else
<p class="text-neg bold text-small my-none">Disconnected</p>
<p class="text-neg bold text-small my-none">{{ trans('settings.users_social_status_disconnected') }}</p>
@endif
</div>
@endforeach