add private key description
This commit is contained in:
parent
bbbeacee4d
commit
360f5db2cf
@ -8,10 +8,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="grid gap-2 lg:grid-cols-2">
|
<div class="grid gap-2 lg:grid-cols-2">
|
||||||
@forelse ($privateKeys as $key)
|
@forelse ($privateKeys as $key)
|
||||||
<a class="text-center hover:no-underline box group"
|
<a class="box"
|
||||||
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
|
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
|
||||||
<div class="group-hover:dark:text-white">
|
<div class="flex flex-col mx-6">
|
||||||
<div>{{ $key->name }}</div>
|
<div class="box-title">
|
||||||
|
{{ data_get($key, 'name') }}
|
||||||
|
</div>
|
||||||
|
<div class="box-description">
|
||||||
|
{{ $key->description }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@empty
|
@empty
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
|
|
||||||
// Route::get('/security', fn () => view('security.index'))->name('security.index');
|
// Route::get('/security', fn () => view('security.index'))->name('security.index');
|
||||||
Route::get('/security/private-key', fn () => view('security.private-key.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');
|
]))->name('security.private-key.index');
|
||||||
// Route::get('/security/private-key/new', SecurityPrivateKeyCreate::class)->name('security.private-key.create');
|
// 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');
|
Route::get('/security/private-key/{private_key_uuid}', SecurityPrivateKeyShow::class)->name('security.private-key.show');
|
||||||
|
Loading…
Reference in New Issue
Block a user