Skip to content

Commit d477dda

Browse files
authored
Merge pull request #26 from pxthinh/feature/view_template
update view and lang for pull request and fix icon in lang
2 parents e007b29 + 475ffc1 commit d477dda

File tree

17 files changed

+74
-42
lines changed

17 files changed

+74
-42
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
return [
4+
'review' => '👥 Reviewers: ',
5+
'closed' => [
6+
'title' => ':title - 🦑:issue by :user',
7+
'title_merged' => '✅ <b>Pull Request Merged</b>',
8+
'title_closed' => '❌ <b>Pull Request Closed</b>',
9+
],
10+
'opened' => [
11+
'title' => '👷‍♂️🛠️ <b>New Pull Request</b> - 🦑:issue by :user',
12+
],
13+
'reopened' => [
14+
'title' => '👷‍♂️🛠️ <b>Reopened Pull Request</b> - 🦑:issue by :user',
15+
],
16+
];

resources/views/events/github/issue_comment/created.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issue_comment/deleted.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issue_comment/edited.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issue_comment.issue_comment_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issues/closed.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issues/deleted.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issues/edited.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

1818
@include('tg-notifier::events.shared.partials.github._assignees', compact('payload', 'event'))
1919
@if(isset($payload->changes->title))

resources/views/events/github/issues/locked.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issues/opened.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

resources/views/events/github/issues/pinned.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
) !!}
1515

16-
{!! __('tg-notifier::events/github/issues.issue_title') !!} <b><?= $issue->title; ?></b>
16+
📢 <b>{{ $issue->title }}</b>
1717

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

0 commit comments

Comments
 (0)