resources/views/events/gitlab/note/commit.blade.php
<?php
/**
* @var object $payload
* @var string $event
*/
?>
💬 {!! __('tg-notifier::events/gitlab/note.title.commit', [
'repo' => "🦊<a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}</a>",
'user' => "<code>{$payload->user->name}</code>"
]
) !!}
⚙️ {{ __('tg-notifier::app.commit') }}: <code>{{ $payload->commit->message }}</code>
🔗 {!! __('tg-notifier::events/gitlab/note.view_comment', [
'link' => "<a href='{$payload->object_attributes->url}'>{$payload->commit->id}</a>"
]
) !!}
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))