From 974c787a7c1c65b20e1a2eeceef876c1449096b3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 15 Feb 2017 00:17:03 +0900 Subject: [PATCH] =?UTF-8?q?[Client]=20=E3=81=84=E3=81=84=E6=84=9F=E3=81=98?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/common/scripts/get-post-summary.ls | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/web/app/common/scripts/get-post-summary.ls b/src/web/app/common/scripts/get-post-summary.ls index 0150d53004..cc7bb0e37d 100644 --- a/src/web/app/common/scripts/get-post-summary.ls +++ b/src/web/app/common/scripts/get-post-summary.ls @@ -3,7 +3,11 @@ get-post-summary = (post) ~> # メディアが添付されているとき if post.media? - summary += " (#{post.media.length}枚の画像)" + summary += " (#{post.media.length}枚のメディア)" + + # 投票が添付されているとき + if post.poll? + summary += " (投票)" # 返信のとき if post.reply_to_id?