-
-
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 #75 from cslant/feature/team
feature/team
- Loading branch information
Showing
9 changed files
with
250 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,37 @@ | ||
<?php | ||
|
||
return [ | ||
'added_to_repository' => [ | ||
'title' => 'Team added to repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'role_name' => 'Role', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'created' => [ | ||
'title' => 'Team created successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'deleted' => [ | ||
'title' => 'Team deleted successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'edited' => [ | ||
'title' => 'Team edited successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'removed_from_repository' => [ | ||
'title' => 'Team removed from repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
]; |
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,37 @@ | ||
<?php | ||
|
||
return [ | ||
'added_to_repository' => [ | ||
'title' => 'Team added to repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'role_name' => 'Role', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'created' => [ | ||
'title' => 'Team created successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'deleted' => [ | ||
'title' => 'Team deleted successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'edited' => [ | ||
'title' => 'Team edited successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'removed_from_repository' => [ | ||
'title' => 'Team removed from repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
]; |
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,37 @@ | ||
<?php | ||
|
||
return [ | ||
'added_to_repository' => [ | ||
'title' => 'Team added to repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'role_name' => 'Role', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'created' => [ | ||
'title' => 'Team created successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'deleted' => [ | ||
'title' => 'Team deleted successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'edited' => [ | ||
'title' => 'Team edited successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'removed_from_repository' => [ | ||
'title' => 'Team removed from repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
]; |
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,37 @@ | ||
<?php | ||
|
||
return [ | ||
'added_to_repository' => [ | ||
'title' => 'Team added to repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'role_name' => 'Role', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'created' => [ | ||
'title' => 'Team created successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'deleted' => [ | ||
'title' => 'Team deleted successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'edited' => [ | ||
'title' => 'Team edited successfully', | ||
'organization' => 'Organization', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
'removed_from_repository' => [ | ||
'title' => 'Team removed from repository successfully', | ||
'organization' => 'Organization', | ||
'full_name' => 'Repository', | ||
'sender' => 'Sender', | ||
'team' => 'Team', | ||
], | ||
]; |
23 changes: 23 additions & 0 deletions
23
resources/views/events/github/team/added_to_repository.blade.php
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,23 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
⚡ <b>{!! __('tg-notifier::events/github/team.added_to_repository.title') !!}</b> 🎊 | ||
|
||
@if(isset($payload->organization)) | ||
🏢 {!! __('tg-notifier::events/github/team.added_to_repository.organization') !!}: <b>{{ $payload->organization->login }}</b> | ||
@endif | ||
@if(isset($payload->repository)) | ||
📦 {!! __('tg-notifier::events/github/team.added_to_repository.full_name') !!}: 🦑<a href='{{ $payload->team->html_url }}'><b>{{ $payload->repository->full_name }}</b></a> | ||
📄 {!! __('tg-notifier::events/github/team.added_to_repository.role_name') !!}: <b>{{ $payload->repository->role_name }}</b> | ||
@endif | ||
@if(isset($payload->sender)) | ||
👤 {!! __('tg-notifier::events/github/team.added_to_repository.sender') !!}: <b>{{ $payload->sender->login }}</b> | ||
@endif | ||
@if(isset($payload->team)) | ||
👥 {!! __('tg-notifier::events/github/team.added_to_repository.team') !!}: <a href='{{ $payload->team->html_url }}'><b>{{ $payload->team->name }}</b></a> | ||
@endif |
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,19 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
⚡ <b>{!! __('tg-notifier::events/github/team.created.title') !!}</b> 🎊 | ||
|
||
@if(isset($payload->organization)) | ||
🏢 {!! __('tg-notifier::events/github/team.created.organization') !!}: <b>{{ $payload->organization->login }}</b> | ||
@endif | ||
@if(isset($payload->sender)) | ||
👤 {!! __('tg-notifier::events/github/team.created.sender') !!}: <b>{{ $payload->sender->login }}</b> | ||
@endif | ||
@if(isset($payload->team)) | ||
👥 {!! __('tg-notifier::events/github/team.created.team') !!}: <a href='{{ $payload->team->html_url }}'><b>{{ $payload->team->name }}</b></a> | ||
@endif |
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,19 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
🗑 <b>{!! __('tg-notifier::events/github/team.deleted.title') !!}</b> 🎊 | ||
|
||
@if(isset($payload->organization)) | ||
🏢 {!! __('tg-notifier::events/github/team.deleted.organization') !!}: <b>{{ $payload->organization->login }}</b> | ||
@endif | ||
@if(isset($payload->sender)) | ||
👤 {!! __('tg-notifier::events/github/team.deleted.sender') !!}: <b>{{ $payload->sender->login }}</b> | ||
@endif | ||
@if(isset($payload->team)) | ||
👥 {!! __('tg-notifier::events/github/team.deleted.team') !!}: <b>{{ $payload->team->name }}</b> | ||
@endif |
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,19 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
⚡ <b>{!! __('tg-notifier::events/github/team.edited.title') !!}</b> 🎊 | ||
|
||
@if(isset($payload->organization)) | ||
🏢 {!! __('tg-notifier::events/github/team.edited.organization') !!}: <b>{{ $payload->organization->login }}</b> | ||
@endif | ||
@if(isset($payload->sender)) | ||
👤 {!! __('tg-notifier::events/github/team.edited.sender') !!}: <b>{{ $payload->sender->login }}</b> | ||
@endif | ||
@if(isset($payload->team)) | ||
👥 {!! __('tg-notifier::events/github/team.edited.team') !!}: <a href='{{ $payload->team->html_url }}'><b>{{ $payload->team->name }}</b></a> | ||
@endif |
22 changes: 22 additions & 0 deletions
22
resources/views/events/github/team/removed_from_repository.blade.php
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,22 @@ | ||
<?php | ||
/** | ||
* @var $payload object | ||
*/ | ||
?> | ||
|
||
⚡ <b>{!! __('tg-notifier::events/github/team.removed_from_repository.title') !!}</b> 🎊 | ||
|
||
@if(isset($payload->organization)) | ||
🏢 {!! __('tg-notifier::events/github/team.removed_from_repository.organization') !!}: <b>{{ $payload->organization->login }}</b> | ||
@endif | ||
@if(isset($payload->repository)) | ||
📦 {!! __('tg-notifier::events/github/team.removed_from_repository.full_name') !!}: 🦑<a href='{{ $payload->team->html_url }}'><b>{{ $payload->repository->full_name }}</b></a> | ||
@endif | ||
@if(isset($payload->sender)) | ||
👤 {!! __('tg-notifier::events/github/team.removed_from_repository.sender') !!}: <b>{{ $payload->sender->login }}</b> | ||
@endif | ||
@if(isset($payload->team)) | ||
👥 {!! __('tg-notifier::events/github/team.removed_from_repository.team') !!}: <a href='{{ $payload->team->html_url }}'><b>{{ $payload->team->name }}</b></a> | ||
@endif |