get documentTitle(): string {
if (this.state.community.name) {
- return `/c/${this.state.community.name} - ${this.state.site.name}`;
+ return `!${this.state.community.name} - ${this.state.site.name}`;
} else {
return 'Lemmy';
}
get documentTitle(): string {
if (this.state.site.name) {
- return `/u/${UserService.Instance.user.name} ${i18n.t('inbox')} - ${
+ return `@${UserService.Instance.user.name} ${i18n.t('inbox')} - ${
this.state.site.name
}`;
} else {
return (
<div class="btn-group btn-group-toggle">
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.messageType == MessageType.All && 'active'}
`}
>
{i18n.t('all')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.messageType == MessageType.Replies && 'active'}
`}
>
{i18n.t('replies')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.messageType == MessageType.Mentions && 'active'}
`}
>
{i18n.t('mentions')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.messageType == MessageType.Messages && 'active'}
`}
>
get documentTitle(): string {
if (this.state.siteRes.site.name) {
- return `/u/${this.state.username} - ${this.state.siteRes.site.name}`;
+ return `@${this.state.username} - ${this.state.siteRes.site.name}`;
} else {
return 'Lemmy';
}
class="rounded-circle mr-2"
/>
)}
- <span>/u/{this.state.username}</span>
+ <span>@{this.state.username}</span>
</h5>
{this.state.loading ? (
<h5>
return (
<div class="btn-group btn-group-toggle">
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.view == UserDetailsView.Overview && 'active'}
`}
>
{i18n.t('overview')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.view == UserDetailsView.Comments && 'active'}
`}
>
{i18n.t('comments')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.view == UserDetailsView.Posts && 'active'}
`}
>
{i18n.t('posts')}
</label>
<label
- className={`btn btn-outline-secondary pointer
+ className={`btn btn-outline-secondary pointer
${this.state.view == UserDetailsView.Saved && 'active'}
`}
>
</tr>
*/}
<tr>
- {/*
+ {/*
<td>
{i18n.t('number_of_points', { count: user.post_score })}
</td>
<td>
{i18n.t('number_of_posts', { count: user.number_of_posts })}
</td>
- {/*
+ {/*
</tr>
<tr>
<td>