mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:46:12 +08:00
FIX: Missing "no activity" message.
This commit is contained in:
parent
85eae96a11
commit
faa37c3070
|
@ -6,7 +6,10 @@ export default Discourse.Route.extend(ViewingActionType, {
|
|||
},
|
||||
|
||||
afterModel() {
|
||||
return this.modelFor("user").get("stream").filterBy(this.get("userActionType"), this.get("noContentHelpKey"));
|
||||
return this.modelFor("user").get("stream").filterBy(
|
||||
this.get("userActionType"),
|
||||
this.get("noContentHelpKey") || "user_activity.no_default"
|
||||
);
|
||||
},
|
||||
|
||||
renderTemplate() {
|
||||
|
|
|
@ -708,6 +708,9 @@ en:
|
|||
long_form: 'voted for this post'
|
||||
|
||||
user_activity:
|
||||
no_default:
|
||||
self: "You have no activity yet."
|
||||
others: "No activity."
|
||||
no_bookmarks:
|
||||
self: "You have no bookmarked posts, bookmarking posts allows you to easily access them later on."
|
||||
others: "No bookmarks."
|
||||
|
|
Loading…
Reference in New Issue
Block a user