FIX: Missing no members message on group page.

This commit is contained in:
Guo Xiang Tan 2016-12-14 14:01:19 +08:00
parent 8bd1ac53f1
commit 0c9499874d
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{{#if model}} {{#if model.members}}
{{#if canJoinGroup}} {{#if canJoinGroup}}
{{#if model.is_group_user}} {{#if model.is_group_user}}
{{d-button action="leaveGroup" {{d-button action="leaveGroup"
@ -50,5 +50,5 @@
{{conditional-loading-spinner condition=loading}} {{conditional-loading-spinner condition=loading}}
{{else}} {{else}}
<div>{{i18n "groups.empty.users"}}</div> <div>{{i18n "groups.empty.members"}}</div>
{{/if}} {{/if}}

View File

@ -405,12 +405,12 @@ en:
name_placeholder: "Group name, no spaces, same as username rule" name_placeholder: "Group name, no spaces, same as username rule"
public: "Allow users to join/leave the group freely (Requires group to be visible)" public: "Allow users to join/leave the group freely (Requires group to be visible)"
empty: empty:
posts: "There is no post by members of this group." posts: "There are no posts by members of this group."
members: "There is no member in this group." members: "There are no members in this group."
mentions: "There is no mention of this group." mentions: "There are no mentions of this group."
messages: "There is no message for this group." messages: "There are no messages for this group."
topics: "There is no topic by members of this group." topics: "There are no topics by members of this group."
logs: "There is no logs for this group." logs: "There are no logs for this group."
add: "Add" add: "Add"
join: "Join Group" join: "Join Group"
leave: "Leave Group" leave: "Leave Group"