Skip to content

Commit 55e3884

Browse files
committed
fix: update view template for push github event
1 parent 7dbb1d1 commit 55e3884

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

lang/de/events/github/push.php

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

33
return [
44
'default' => [
5-
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
5+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
66
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
77
'pusher' => 'Pushed by',
88
],

lang/en/events/github/push.php

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

33
return [
44
'default' => [
5-
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
5+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
66
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
77
'pusher' => 'Pushed by',
88
],

lang/ja/events/github/push.php

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

33
return [
44
'default' => [
5-
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
5+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
66
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
77
'pusher' => 'Pushed by',
88
],

lang/vi/events/github/push.php

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

33
return [
44
'default' => [
5-
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
5+
'title' => '<b>:count</b> new :noun to <b>:repo:<code>:branch</code></b>',
66
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
77
'pusher' => 'Pushed by',
88
],

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
99
$ref = explode('/', $payload->ref);
1010
$branch = implode('/', array_slice($ref, 2));
11+
12+
$type = 'default';
1113
?>
1214

13-
{!! __('tg-notifier::events/github/push.default.title', [
15+
👷⚙️ {!! __('tg-notifier::events/github/push.default.title', [
1416
'count' => $count,
1517
'noun' => $noun,
16-
'repo' => $payload->repository->full_name,
18+
'repo' => "🦑<a href='{$payload->repository->html_url}'>{$payload->repository->full_name}</a>",
1719
'branch' => $branch,
1820
]
1921
) !!}

0 commit comments

Comments
 (0)