cslant/laravel-telegram-git-notifier

View on GitHub
resources/views/events/github/issues/pinned.blade.php

Summary

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

$issue = $payload->issue;
?>

📌 {!! __('tg-notifier::events/github/issues.pinned.title', [
            'issue' => "🦑 <a href='$issue->html_url'>{$payload->repository->full_name}#$issue->number</a>",
            'user' => "<a href='{$payload->sender->html_url}'>@{$payload->sender->login}</a>"
        ]
    ) !!}

📢 {!! __('tg-notifier::events/github/issues.issue_title') !!}: <code>{{ $issue->title }}</code>

@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))