-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from avaelo/delete-event
create messages for delete event
- Loading branch information
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'delete' => [ | ||
'title' => '🗑 <b>Webhook gelöscht</b>', | ||
'organization' => '🏢 Organisation: <b>:organization</b>', | ||
'full_name' => '📦 Repository: 🦑<b>:full_name</b>', | ||
'sender' => '👤 Sender (der das Ereignis ausgelöst hat): <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'delete' => [ | ||
'title' => '🗑 <b>Webhook Deleted</b>', | ||
'organization' => '🏢 Organization: <b>:organization</b>', | ||
'full_name' => '📦 Repository: 🦑<b>:full_name</b>', | ||
'sender' => '👤 Sender (triggered the event): <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'delete' => [ | ||
'title' => '🗑 <b>Webhook 削除</b>', | ||
'organization' => '🏢 組織: <b>:organization</b>', | ||
'full_name' => '📦 リポジトリ: 🦑<b>:full_name</b>', | ||
'sender' => '👤 送信者(イベントのトリガー): <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
'delete' => [ | ||
'title' => '🗑 <b>Webhook đã được xóa</b>', | ||
'organization' => '🏢 Tổ chức: <b>:organization</b>', | ||
'full_name' => '📦 Kho lưu trữ: 🦑<b>:full_name</b>', | ||
'sender' => '👤 Người thực hiện sự kiện: <b>:sender</b>', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
{!! __('tg-notifier::events/github/meta.delete.title') !!} | ||
|
||
@if(isset($payload->organization)) | ||
{!! __('tg-notifier::events/github/meta.delete.organization', ['organization' => $payload->organization->login]) !!} | ||
@endif | ||
@if(isset($payload->repository)) | ||
{!! __('tg-notifier::events/github/meta.delete.full_name', ['full_name' => $payload->repository->full_name]) !!} | ||
@endif | ||
@if(isset($payload->sender)) | ||
{!! __('tg-notifier::events/github/meta.delete.sender', ['sender' => $payload->sender->login]) !!} | ||
@endif |