diff --git a/resources/views/security/private-key/index.blade.php b/resources/views/security/private-key/index.blade.php index 564fb1bff..65850ac48 100644 --- a/resources/views/security/private-key/index.blade.php +++ b/resources/views/security/private-key/index.blade.php @@ -8,10 +8,15 @@
@forelse ($privateKeys as $key) - -
-
{{ $key->name }}
+
+
+ {{ data_get($key, 'name') }} +
+
+ {{ $key->description }} +
@empty diff --git a/routes/web.php b/routes/web.php index bd85ecdd1..dfc768811 100644 --- a/routes/web.php +++ b/routes/web.php @@ -218,7 +218,7 @@ // Route::get('/security', fn () => view('security.index'))->name('security.index'); Route::get('/security/private-key', fn () => view('security.private-key.index', [ - 'privateKeys' => PrivateKey::ownedByCurrentTeam(['name', 'uuid', 'is_git_related'])->get() + 'privateKeys' => PrivateKey::ownedByCurrentTeam(['name', 'uuid', 'is_git_related','description'])->get() ]))->name('security.private-key.index'); // Route::get('/security/private-key/new', SecurityPrivateKeyCreate::class)->name('security.private-key.create'); Route::get('/security/private-key/{private_key_uuid}', SecurityPrivateKeyShow::class)->name('security.private-key.show');