diff --git a/src/templates/src/project_homepage.html b/src/templates/src/project_homepage.html
index 7be1f9e1..b17de808 100644
--- a/src/templates/src/project_homepage.html
+++ b/src/templates/src/project_homepage.html
@@ -79,7 +79,7 @@
Filters
-
+
Recent Activity
@@ -91,6 +91,7 @@
{{ range .RecentActivity }}
{{ template "timeline_item.html" . }}
{{ end }}
+ TODO: READ MORE LINK
@@ -124,7 +125,6 @@
{{ end }}
-
{{ if .User }}
diff --git a/src/website/projects.go b/src/website/projects.go
index 52b77ed8..3bf796ec 100644
--- a/src/website/projects.go
+++ b/src/website/projects.go
@@ -334,7 +334,7 @@ type ProjectHomepageData struct {
}
func ProjectHomepage(c *RequestContext) ResponseData {
- maxRecentActivity := 15
+ maxRecentActivity := 100
if c.CurrentProject == nil {
return FourOhFour(c)
diff --git a/src/website/timeline_helper.go b/src/website/timeline_helper.go
index 426a3cdb..21b088de 100644
--- a/src/website/timeline_helper.go
+++ b/src/website/timeline_helper.go
@@ -243,15 +243,17 @@ func PostToTimelineItem(
thread *models.Thread,
owner *models.User,
) templates.TimelineItem {
+ ownerTmpl := templates.UserToTemplate(owner)
+
item := templates.TimelineItem{
Date: post.PostDate,
Title: thread.Title,
Breadcrumbs: GenericThreadBreadcrumbs(urlContext, lineageBuilder, thread),
Url: UrlForGenericPost(urlContext, thread, post, lineageBuilder),
- OwnerAvatarUrl: templates.UserAvatarUrl(owner),
- OwnerName: owner.BestName(),
- OwnerUrl: hmnurl.BuildUserProfile(owner.Username),
+ OwnerAvatarUrl: ownerTmpl.AvatarUrl,
+ OwnerName: ownerTmpl.Name,
+ OwnerUrl: ownerTmpl.ProfileUrl,
}
if typeTitles, ok := TimelineTypeTitleMap[post.ThreadType]; ok {