Skip to content

Commit 155a2f4

Browse files
committed
fix: update gitlab merge request view templates
1 parent ae32ad9 commit 155a2f4

9 files changed

+11
-11
lines changed

resources/views/events/gitlab/merge_request/approval.blade.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
?>
88
👍 {!! __('tg-notifier::events/gitlab/merge_request.approval.title', [
99
'repo' => "✅ - 🦊<a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}#{$payload->object_attributes->iid}</a>",
10-
'user' => "<b>{$payload->user->name}</b>"
10+
'user' => "<code>{$payload->user->name}</code>"
1111
]) !!}
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/approved.blade.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
?>
88
👍 {!! __('tg-notifier::events/gitlab/merge_request.approved.title', [
99
'repo' => "✅ - 🦊<a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}#{$payload->object_attributes->iid}</a>",
10-
'user' => "<b>{$payload->user->name}</b>"
10+
'user' => "<code>{$payload->user->name}</code>"
1111
]) !!}
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/close.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/merge.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/open.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/reopen.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/unapproval.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/unapproved.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

resources/views/events/gitlab/merge_request/update.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
🛠 <b>{{ $payload->object_attributes->title }}</b>
1414

15-
🌳 {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
15+
🌳 {{ __('tg-notifier::app.branch') }}: {{ $payload->object_attributes->source_branch }} -> {{ $payload->object_attributes->target_branch }} 🎯
1616
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
1717
@include('tg-notifier::events.gitlab.merge_request.partials._reviewers', compact('payload'))
1818
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

0 commit comments

Comments
 (0)