File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
resources/views/events/github/push Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 22
33return [
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 ],
Original file line number Diff line number Diff line change 22
33return [
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 ],
Original file line number Diff line number Diff line change 22
33return [
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 ],
Original file line number Diff line number Diff line change 22
33return [
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 ],
Original file line number Diff line number Diff line change 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 ) ! !}
You can’t perform that action at this time.
0 commit comments