Skip to content

Commit

Permalink
fix: update view template for release event gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
phutong99 committed May 20, 2024
1 parent 3e54432 commit daba1c1
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions lang/de/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
];
];
8 changes: 4 additions & 4 deletions lang/en/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
];
];
8 changes: 4 additions & 4 deletions lang/ja/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
];
];
8 changes: 4 additions & 4 deletions lang/vi/events/gitlab/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

return [
'title' => [
'create' => '✅🚀 <b>Release Created</b> - 🦊:repo by :user',
'update' => '📝🚀 <b>Release Updated</b> - 🦊:repo by :user',
'delete' => '🚫🚀 <b>Release Deleted</b> - 🦊:repo by :user',
'create' => '<b>Release Created</b> - :repo by :user',
'update' => '<b>Release Updated</b> - :repo by :user',
'delete' => '<b>Release Deleted</b> - :repo by :user',
],
];
];
4 changes: 2 additions & 2 deletions resources/views/events/gitlab/release/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
?>

{!! __('tg-notifier::events/gitlab/release.title.create', [
'repo' => "<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
✅🚀 {!! __('tg-notifier::events/gitlab/release.title.create', [
'repo' => "🦊<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
'user' => "<b>{$payload->commit->author->name}</b>"
]) !!}

Expand Down
4 changes: 2 additions & 2 deletions resources/views/events/gitlab/release/delete.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
?>

{!! __('tg-notifier::events/gitlab/release.title.delete', [
'repo' => "<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
🚫🚀 {!! __('tg-notifier::events/gitlab/release.title.delete', [
'repo' => "🦊<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
'user' => "<b>{$payload->commit->author->name}</b>"
]) !!}

Expand Down
4 changes: 2 additions & 2 deletions resources/views/events/gitlab/release/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
?>

{!! __('tg-notifier::events/gitlab/release.title.update', [
'repo' => "<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
📝🚀 {!! __('tg-notifier::events/gitlab/release.title.update', [
'repo' => "🦊<a href='$payload->url'>{$payload->project->path_with_namespace}#{$payload->tag}</a>",
'user' => "<b>{$payload->commit->author->name}</b>"
]) !!}

Expand Down

0 comments on commit daba1c1

Please sign in to comment.