From 4f1208ea980618cbd4c0ac5b3089af911a3e96c1 Mon Sep 17 00:00:00 2001 From: Boris Bera Date: Fri, 3 Jul 2015 23:25:13 -0400 Subject: [PATCH] Atom feed now puts the activity message in title Originally it used to put the activity type in the message. This gave no useful information. The user had to open the news item to see what was going on. Now, the title is the activity's message rendered to html. Note that this is the same as the content of the news item. This fixes #481 --- src/main/twirl/gitbucket/core/helper/feed.scala.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/twirl/gitbucket/core/helper/feed.scala.xml b/src/main/twirl/gitbucket/core/helper/feed.scala.xml index 865cee9a1..440e1ff54 100644 --- a/src/main/twirl/gitbucket/core/helper/feed.scala.xml +++ b/src/main/twirl/gitbucket/core/helper/feed.scala.xml @@ -16,7 +16,7 @@ @datetimeRFC3339(activity.activityDate) @datetimeRFC3339(activity.activityDate) - @activity.activityType + @activityMessage(activity.message) @activity.activityUserName @url(activity.activityUserName)