cslant/laravel-telegram-git-notifier

View on GitHub
resources/views/events/gitlab/merge_request/open.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @var object $payload
 * @var string $event
 */

?>
👷‍♂️🛠️ {!! __('tg-notifier::events/gitlab/merge_request.opened.title', [
        'repo' => "🦊<a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}#{$payload->object_attributes->iid}</a>",
        'user' => "<b>{$payload->user->name}</b>"
    ]) !!}

🛠 <b>{{ $payload->object_attributes->title }}</b>

🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))