File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
resources/views/events/gitlab/issue Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 77 ],
88 'edited ' => [
99 'title ' => '⚠️ <b>Issue has been edited</b> to 🦊 :issue by :user ' ,
10+ 'changes ' => [
11+ 'title ' => [
12+ 'name ' => '📖 <b>Title</b> has been changed ' ,
13+ 'from ' => '📝 <b>From:</b> :title_from ' ,
14+ 'to ' => '🏷 <b>To:</b> :title_to ' ,
15+ ],
16+ 'body ' => [
17+ 'title ' => '📖 <b>Body</b> has been changed ' ,
18+ 'message ' => 'Please check the issue for more details ' ,
19+ ],
20+ ],
1021 ],
1122 'opened ' => [
1223 'title ' => '⚠️ <b>New Issue</b> to 🦊 :issue by :user ' ,
Original file line number Diff line number Diff line change 1414📢 <b >{{ $payload -> object_attributes -> title } } </b >
1515
1616@include (' tg-notifier::events.shared.partials.gitlab._assignees' , compact (' payload' , ' event' ) )
17- @include (' tg-notifier::events.shared.partials.gitlab._body' , compact (' payload' , ' event' ) )
17+
18+ @if (isset ($payload -> changes -> title ) )
19+ {!! __ (' tg-notifier::events/gitlab/issues.edited.changes.title.name' ) ! !}
20+ {!! __ (' tg-notifier::events/gitlab/issues.edited.changes.title.from' , [' title_from' => $payload -> changes -> title -> previous ]) ! !}
21+ {!! __ (' tg-notifier::events/gitlab/issues.edited.changes.title.to' , [' title_to' => $payload -> changes -> title -> current ]) ! !}
22+ @endif
23+ @if (isset ($payload -> changes -> description ) )
24+ {!! __ (' tg-notifier::events/gitlab/issues.edited.changes.body.title' ) ! !}
25+ {!! __ (' tg-notifier::events/gitlab/issues.edited.changes.body.message' ) ! !}
26+ @endif
You can’t perform that action at this time.
0 commit comments