feat: save commit message and better view on deployments

This commit is contained in:
Andras Bacsai
2024-05-15 11:31:03 +02:00
parent b992b19c66
commit 3f1b7192ff
3 changed files with 43 additions and 3 deletions

View File

@@ -71,7 +71,12 @@
<div class="dark:hover:text-white"
x-on:click.stop="goto('{{ $application->gitCommitLink(data_get($deployment, 'commit')) }}')">
<div class="text-xs underline">
(SHA {{ data_get($deployment, 'commit') }})</div>
@if ($deployment->commitMessage())
({{data_get_str($deployment, 'commit')->limit(7)}} - {{ $deployment->commitMessage() }})
@else
{{ data_get_str($deployment, 'commit')->limit(7) }}
@endif
</div>
</div>
@endif
</div>