From 7bc481bce5fba4478377c57d8ed1468725819497 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 19 Feb 2025 19:49:40 +0900 Subject: [PATCH] =?UTF-8?q?CLAP-487=20Fix:=20=ED=91=B8=EC=8B=9C=20?= =?UTF-8?q?=EC=95=8C=EB=A6=BC=20template=20=EB=82=B4=EC=9A=A9=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outbound/api/agit/AgitTemplateBuilder.java | 2 +- .../api/kakaoWork/KakaoWorkBlockBuilder.java | 12 ++++++------ src/main/resources/templates/comment.html | 2 +- src/main/resources/templates/processor-assigned.html | 2 +- src/main/resources/templates/processor-changed.html | 2 +- src/main/resources/templates/status-switched.html | 2 +- src/main/resources/templates/task-request.html | 2 +- src/main/resources/templates/task-terminated.html | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/clap/server/adapter/outbound/api/agit/AgitTemplateBuilder.java b/src/main/java/clap/server/adapter/outbound/api/agit/AgitTemplateBuilder.java index aaf6fb00..c2039cda 100644 --- a/src/main/java/clap/server/adapter/outbound/api/agit/AgitTemplateBuilder.java +++ b/src/main/java/clap/server/adapter/outbound/api/agit/AgitTemplateBuilder.java @@ -46,7 +46,7 @@ public String createMessage(PushNotificationTemplate request, String taskDetailU case TASK_REQUESTED -> "📌 *새 작업이 요청되었습니다.*\\n" + "\\t\\t*• 🔖 작업명:* " + "*" + request.taskName() + "*" + "\\n" + "\\t\\t*• 🙋 요청자:* " + "*" + request.senderName() + "*" + "\\n\\n" - + "\\t[자세히 보기](" + taskDetailUrl + ")"; + + "\\t[바로가기](" + taskDetailUrl + ")"; case STATUS_SWITCHED -> "작업 상태가 " + "*" + request.message() + "*" + "으로 변경되었습니다."; diff --git a/src/main/java/clap/server/adapter/outbound/api/kakaoWork/KakaoWorkBlockBuilder.java b/src/main/java/clap/server/adapter/outbound/api/kakaoWork/KakaoWorkBlockBuilder.java index 55c9a704..98a29981 100644 --- a/src/main/java/clap/server/adapter/outbound/api/kakaoWork/KakaoWorkBlockBuilder.java +++ b/src/main/java/clap/server/adapter/outbound/api/kakaoWork/KakaoWorkBlockBuilder.java @@ -70,7 +70,7 @@ private String makeTaskRequestBlock(PushNotificationTemplate request, String tas ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", @@ -136,7 +136,7 @@ private String makeNewProcessorBlock(PushNotificationTemplate request, String ta ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", @@ -202,7 +202,7 @@ private String makeProcessorChangeBlock(PushNotificationTemplate request, String ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", @@ -280,7 +280,7 @@ private String makeCommentBlock(PushNotificationTemplate request, String taskDet ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", @@ -346,7 +346,7 @@ private String makeTaskStatusBlock(PushNotificationTemplate request, String task ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", @@ -412,7 +412,7 @@ private String makeTerminatedStatusBlock(PushNotificationTemplate request, Strin ), Map.of( "type", "button", - "text", "확인하기", + "text", "바로가기", "style", "default", "action", Map.of( "type", "open_system_browser", diff --git a/src/main/resources/templates/comment.html b/src/main/resources/templates/comment.html index 83793cb3..693c028b 100644 --- a/src/main/resources/templates/comment.html +++ b/src/main/resources/templates/comment.html @@ -75,7 +75,7 @@
  • 내용:
  • - 확인하기 + 바로가기