mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-15 11:36:38 +08:00
This commit adds a nav item under the Activity tab in user profile to show a feed of posts made by followed users.
24 lines
764 B
Handlebars
24 lines
764 B
Handlebars
<div class="clearfix info">
|
|
<a href={{post.user.userUrl}} data-user-card={{post.user.username}} class="avatar-link">
|
|
{{avatar post.user imageSize="large" extraClasses="actor" ignoreTitle=true}}
|
|
</a>
|
|
<span class="time">{{format-date post.created_at leaveAgo="true"}}</span>
|
|
{{expand-post item=post}}
|
|
|
|
<div class="stream-topic-details">
|
|
<div class="stream-topic-title">
|
|
<span class="title">
|
|
<a href={{get-url post.url}}>{{html-safe post.topic.fancyTitle}}</a>
|
|
</span>
|
|
</div>
|
|
<div class="group-post-category">{{category-link post.topic.category}}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="excerpt">
|
|
{{#if post.expandedExcerpt}}
|
|
{{html-safe post.expandedExcerpt}}
|
|
{{else}}
|
|
{{html-safe post.excerpt}}
|
|
{{/if}}
|
|
</div>
|