File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
resources/views/events/gitlab Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 2929 'update ' => [
3030 'title ' => '<b>Merge Request Updated</b> - :repo by :user ' ,
3131 ],
32+ 'default ' => 'Here is the default message for merge request ' ,
3233];
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @var $payload object
4+ * @var $event string
5+ */
6+
7+ ? >
8+ 🔥 {!! __ (' tg-notifier::events/gitlab/issues.confidential_issue' , [
9+ ' issue' => " 🦊<a href='{$payload -> object_attributes -> url }'>{$payload -> project -> path_with_namespace }#{$payload -> object_attributes -> id }</a>" ,
10+ ' user' => " <b>{$payload -> user -> name }</b>"
11+ ]
12+ ) ! !}
13+
14+ 📢 {{ __ (' tg-notifier::app.title' ) } } : <code >{{ $payload -> object_attributes -> title } } </code >
15+ 📡 {{ __ (' tg-notifier::app.state' ) } } : <code >{{ $payload -> object_attributes -> state } } </code >
16+ 🔒 {{ __ (' tg-notifier::app.confidential' ) } } : <code >{{ $payload -> object_attributes -> confidential } } </code >
17+ @include (' tg-notifier::events.shared.partials.gitlab._assignees' , compact (' payload' , ' event' ) )
18+ @include (' tg-notifier::events.shared.partials.gitlab._body' , compact (' payload' , ' event' ) )
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @var $payload object
4+ * @var $event string
5+ */
6+
7+ ? >
8+ 🔥 {{ __ (' tg-notifier::events/gitlab/merge_request.default' ) } }
9+
10+ 🛠 <b >{{ $payload -> object_attributes -> title } } </b >
11+ 🌳 {{ __ (' tg-notifier::app.branch' ) } } : {{ $payload -> object_attributes -> source_branch } } -> {{ $payload -> object_attributes -> target_branch } } 🎯
12+ @include (' tg-notifier::events.shared.partials.gitlab._assignees' , compact (' payload' , ' event' ) )
13+ @include (' tg-notifier::events.gitlab.merge_request.partials._reviewers' , compact (' payload' ) )
14+ @include (' tg-notifier::events.shared.partials.gitlab._body' , compact (' payload' , ' event' ) )
You can’t perform that action at this time.
0 commit comments