-
- @if (data_get($deployment, 'commit'))
-
-
-
Commit:
+ @if (data_get($deployment, 'commit'))
+
+
+
Commit:
+
+ {{ substr(data_get($deployment, 'commit'), 0, 7) }}
+
+ @if (!$deployment->commitMessage())
+
+ @if (data_get($deployment, 'is_webhook'))
+ Webhook
+ @if (data_get($deployment, 'pull_request_id'))
+ | Pull Request #{{ data_get($deployment, 'pull_request_id') }}
+ @endif
+ @elseif (data_get($deployment, 'pull_request_id'))
+ Pull Request #{{ data_get($deployment, 'pull_request_id') }}
+ @elseif (data_get($deployment, 'rollback') === true)
+ Rollback
+ @elseif (data_get($deployment, 'is_api'))
+ API
+ @else
+ Manual
+ @endif
+
+ @endif
+ @if ($deployment->commitMessage())
+
-
- {{ substr(data_get($deployment, 'commit'), 0, 7) }}
+ class="text-gray-600 dark:text-gray-400 truncate max-w-md underline">
+ {{ Str::before($deployment->commitMessage(), "\n") }}
- @if (!$deployment->commitMessage())
-
- @if (data_get($deployment, 'is_webhook'))
- Webhook
- @if (data_get($deployment, 'pull_request_id'))
- | Pull Request #{{ data_get($deployment, 'pull_request_id') }}
- @endif
- @elseif (data_get($deployment, 'pull_request_id'))
- Pull Request #{{ data_get($deployment, 'pull_request_id') }}
- @elseif (data_get($deployment, 'rollback') === true)
- Rollback
- @elseif (data_get($deployment, 'is_api'))
- API
- @else
- Manual
+
+
+ @if (data_get($deployment, 'is_webhook'))
+ Webhook
+ @if (data_get($deployment, 'pull_request_id'))
+ | Pull Request #{{ data_get($deployment, 'pull_request_id') }}
@endif
-
- @endif
- @if ($deployment->commitMessage())
- -
-
- {{ Str::before($deployment->commitMessage(), "\n") }}
-
-
-
- @if (data_get($deployment, 'is_webhook'))
- Webhook
- @if (data_get($deployment, 'pull_request_id'))
- | Pull Request #{{ data_get($deployment, 'pull_request_id') }}
- @endif
- @elseif (data_get($deployment, 'pull_request_id'))
- Pull Request #{{ data_get($deployment, 'pull_request_id') }}
- @elseif (data_get($deployment, 'rollback') === true)
- Rollback
- @elseif (data_get($deployment, 'is_api'))
- API
- @else
- Manual
- @endif
-
- @endif
-
- @if ($deployment->commitMessage())
-
- {{ Str::after($deployment->commitMessage(), "\n") }}
-
+ @elseif (data_get($deployment, 'pull_request_id'))
+ Pull Request #{{ data_get($deployment, 'pull_request_id') }}
+ @elseif (data_get($deployment, 'rollback') === true)
+ Rollback
+ @elseif (data_get($deployment, 'is_api'))
+ API
+ @else
+ Manual
+ @endif
+
@endif
- @endif
-
+ @if ($deployment->commitMessage())
+
+ {{ Str::after($deployment->commitMessage(), "\n") }}
+
+ @endif
+
+ @endif
@if (data_get($deployment, 'server_name') && $application->additional_servers->count() > 0)
@@ -162,7 +152,7 @@
@empty
-