Skip to content

Commit d57c7cd

Browse files
authored
Merge pull request #29 from pxthinh/feature/view_template
fix: update view push and lang start
2 parents ab44fb0 + a252c2a commit d57c7cd

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

lang/en/events/github/pull_request_review.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'title' => '👷‍♂️🛠️ <b>Dismissed Pull Request Review Comment</b> 💬 - 🦑:issue by :user',
66
],
77
'submitted' => [
8-
'title' => '♂️🛠️ <b>New Pull Request Review Comment</b> 💬 - 🦑:issue by :user',
8+
'title' => '👷‍♂️‍🛠️ <b>New Pull Request Review Comment</b> 💬 - 🦑:issue by :user',
99
],
1010
'link' => '🔗 Link: :review',
1111
];

lang/en/events/github/watch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
return [
44
'started' => [
5-
'title' => '🎉 <b>Watch Started</b> form 🦑:user',
5+
'title' => '🎉 <b>New Started</b> form 🦑:user',
66
'watcher' => '👤 Watcher: <b>:sender_login</b> 👀',
77
],
88
];

resources/views/events/github/push/default.blade.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@
1919
) !!}
2020

2121
@foreach($payload->commits as $commit)
22-
<?= $commitId = substr($commit->id, -7);?>
23-
{!! __('tg-notifier::events/github/push.default.commit', [
24-
'commit' => "<a href='$commit->url'>$commitId</a>",
25-
'commit_message' => $commit->message,
26-
'commit_name' => $commit->author->name,
27-
]
28-
) !!}
22+
@php
23+
$commitId = substr($commit->id, -7);
24+
@endphp
25+
{!! __('tg-notifier::events/github/push.default.commit', [
26+
'commit' => "<a href='$commit->url'>$commitId</a>",
27+
'commit_message' => $commit->message,
28+
'commit_name' => $commit->author->name,
29+
]
30+
) !!}
2931
@endforeach
3032

3133
{!! __('tg-notifier::events/github/push.default.pushed', ['name' => $payload->pusher->name]) !!}

resources/views/events/github/watch/started.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
]
1010
) !!}
1111

12-
{!! __('tg-notifier::events/github/watch.started.watched', ['sender_login' => $payload->sender->login]) !!}
12+
{!! __('tg-notifier::events/github/watch.started.watcher', ['sender_login' => $payload->sender->login]) !!}

0 commit comments

Comments
 (0)