cslant/laravel-telegram-git-notifier

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

Summary

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

?>
⚠️ {!! __('tg-notifier::events/gitlab/issues.opened.title', [
            'issue' => "🦊 <a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}#{$payload->object_attributes->id}</a>",
            'user' => "<b>{$payload->user->name}</b>"
        ]
    ) !!}

📢 {{ __('tg-notifier::app.title') }}: <code>{{ $payload->object_attributes->title }}</code>
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))