@if (getChannel(currentChannel).length > 0) {
# {{ getChannel(currentChannel)[0].name }}

{{ "info.channelCreate" | translate }} @if(getChannel(currentChannel)[0].creator == "Admin") { Admin } @else { @for (user of getChatUsers(getChannel(currentChannel)[0].creator); track user) { {{ user.firstName }} {{ user.lastName }} } } {{ "info.channelCreate2" | translate }} {{ timeConverter(getChannel(currentChannel)[0].createdDate) }}{{ "info.channelCreate3" | translate }} #{{ getChannel(currentChannel)[0].name }}.

} @if (getPrivatChannel(currentChannel).length > 0) { @if (getPrivatChannel(currentChannel)[0].talkToUserId == userService.getCurrentUserId() && getPrivatChannel(currentChannel)[0].creatorId == userService.getCurrentUserId()) {
@for (user of getChatUsers(getPrivatChannel(currentChannel)[0].creatorId); track user) {

{{ user.firstName }} {{ user.lastName }} ({{ "sidebar-direct-messages-user.you" | translate }})

}

{{ "info.notice" | translate }}

} @else { @if (getPrivatChannel(currentChannel)[0].talkToUserId == userService.getCurrentUserId()) {
@for (user of getChatUsers(getPrivatChannel(currentChannel)[0].creatorId); track user) {

{{ user.firstName }} {{ user.lastName }}

}

{{ "info.talkTo" | translate }} @for (user of getChatUsers(getPrivatChannel(currentChannel)[0].creatorId); track user) { @{{ user.firstName }}{{ user.lastName }} } {{ "info.talkTo2" | translate }}

} @else {
@for (user of getChatUsers(getPrivatChannel(currentChannel)[0].talkToUserId); track user) {

{{ user.firstName }} {{ user.lastName }}

}

{{ "info.talkTo" | translate }} @for (user of getChatUsers(getPrivatChannel(currentChannel)[0].talkToUserId); track user) { @{{ user.firstName }} {{ user.lastName }} } {{ "info.talkTo2" | translate }}

} } }