FIX: Missing "no activity" message.

This commit is contained in:
Robin Ward 2017-09-26 09:37:53 -04:00
parent 85eae96a11
commit faa37c3070
2 changed files with 7 additions and 1 deletions

View File

@ -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() {

View File

@ -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."