diff --git a/config/telegram-git-notifier.php b/config/telegram-git-notifier.php index 2621b01..a47cb58 100644 --- a/config/telegram-git-notifier.php +++ b/config/telegram-git-notifier.php @@ -78,6 +78,8 @@ /** Set the path to the view file */ 'view' => [ + 'ignore-message' => env('IGNORE_MESSAGE', 'ignore-message'), + 'namespace' => env('TGN_VIEW_NAMESPACE', 'tg-notifier'), 'default' => env( diff --git a/resources/views/events/github/issue_comment/created.blade.php b/resources/views/events/github/issue_comment/created.blade.php index 4c6ce02..e811b92 100644 --- a/resources/views/events/github/issue_comment/created.blade.php +++ b/resources/views/events/github/issue_comment/created.blade.php @@ -19,5 +19,5 @@ @include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event')) @include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event')) @else -IGNORE_MESSAGE +{{ config('telegram-git-notifier.view.ignore-message') }} @endif diff --git a/resources/views/events/github/issue_comment/deleted.blade.php b/resources/views/events/github/issue_comment/deleted.blade.php index e52062f..4534c34 100644 --- a/resources/views/events/github/issue_comment/deleted.blade.php +++ b/resources/views/events/github/issue_comment/deleted.blade.php @@ -19,5 +19,5 @@ @include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event')) @include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event')) @else -IGNORE_MESSAGE +{{ config('telegram-git-notifier.view.ignore-message') }} @endif diff --git a/resources/views/events/github/issue_comment/edited.blade.php b/resources/views/events/github/issue_comment/edited.blade.php index 344afab..8a7018a 100644 --- a/resources/views/events/github/issue_comment/edited.blade.php +++ b/resources/views/events/github/issue_comment/edited.blade.php @@ -19,5 +19,5 @@ @include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event')) @include('tg-notifier::events.shared.partials.github._body', compact('payload', 'event')) @else -IGNORE_MESSAGE +{{ config('telegram-git-notifier.view.ignore-message') }} @endif