Skip to content

Commit

Permalink
fix: update gitlab issue view templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed May 21, 2024
1 parent f3c4938 commit 26e8699
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions resources/views/events/gitlab/issue/close.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
]
) !!}

📢 <b>{{ $payload->object_attributes->title }}</b>

📢 {{ __('tg-notifier::app.title') }}: <code>{{ $payload->object_attributes->title }}</code>
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))
3 changes: 1 addition & 2 deletions resources/views/events/gitlab/issue/open.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
]
) !!}

📢 <b>{{ $payload->object_attributes->title }}</b>

📢 {{ __('tg-notifier::app.title') }}: <code>{{ $payload->object_attributes->title }}</code>
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))
3 changes: 1 addition & 2 deletions resources/views/events/gitlab/issue/reopen.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
]
) !!}

📢 <b>{{ $payload->object_attributes->title }}</b>

📢 {{ __('tg-notifier::app.title') }}: <code>{{ $payload->object_attributes->title }}</code>
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))
4 changes: 1 addition & 3 deletions resources/views/events/gitlab/issue/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
]
) !!}

📢 <b>{{ $payload->object_attributes->title }}</b>

📢 {{ __('tg-notifier::app.title') }}: <code>{{ $payload->object_attributes->title }}</code>
@include('tg-notifier::events.shared.partials.gitlab._assignees', compact('payload', 'event'))

@if(isset($payload->changes->title))
📖 {!! __('tg-notifier::events/gitlab/issues.edited.changes.title.name') !!}
📝 {!! __('tg-notifier::events/gitlab/issues.edited.changes.title.from', ['title_from' => $payload->changes->title->previous]) !!}
Expand Down

0 comments on commit 26e8699

Please sign in to comment.