Display account/channel creation date in title

It's not a really important information
This commit is contained in:
Chocobozzz 2021-04-13 15:45:49 +02:00
parent a073c91270
commit ace396c4e0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 4 additions and 18 deletions

View File

@ -10,7 +10,7 @@
<div class="actor-info">
<div>
<div class="actor-display-name">
<h1>{{ account.displayName }}</h1>
<h1 i18n-title [title]="'Created on ' + (account.createdAt | date)">{{ account.displayName }}</h1>
<my-user-moderation-dropdown
[prependActions]="prependModerationActions"
@ -48,8 +48,6 @@
<div class="description" [ngClass]="{ expanded: accountDescriptionExpanded }">
<div class="description-html" [innerHTML]="accountDescriptionHTML"></div>
<div class="created-at" i18n>Account created on {{ account.createdAt | date }}</div>
</div>
<div *ngIf="hasShowMoreDescription()" class="show-more" role="button"

View File

@ -53,6 +53,7 @@ my-user-moderation-dropdown,
background-color: pvar(--submenuBackgroundColor);
margin-bottom: 45px;
padding-top: var(--myGlobalTopPadding);
padding-bottom: var(--myGlobalTopPadding);
font-size: var(--myFontSize);
}
@ -66,12 +67,6 @@ my-user-moderation-dropdown,
word-break: break-word;
}
.created-at {
margin-top: 15px;
color: pvar(--greyForegroundColor);
padding-bottom: 60px;
}
.show-more {
@include show-more-description;

View File

@ -57,7 +57,7 @@
<div class="actor-info">
<div>
<div class="actor-display-name">
<h1>{{ videoChannel.displayName }}</h1>
<h1 i18n-title [title]="'Channel created on ' + (videoChannel.createdAt | date)">{{ videoChannel.displayName }}</h1>
</div>
<div class="actor-handle">
@ -87,8 +87,6 @@
<div class="channel-description" [ngClass]="{ expanded: channelDescriptionExpanded }">
<div class="description-html" [innerHTML]="channelDescriptionHTML"></div>
<div class="created-at" i18n>Channel created on {{ videoChannel.createdAt | date }}</div>
</div>
<div *ngIf="hasShowMoreDescription()" class="show-more" role="button"

View File

@ -43,6 +43,7 @@
background-color: pvar(--channelBackgroundColor);
margin-bottom: 45px;
padding-top: var(--myGlobalTopPadding);
padding-bottom: var(--myGlobalTopPadding);
font-size: var(--myFontSize);
}
@ -83,12 +84,6 @@
display: none;
}
.created-at {
margin-top: 15px;
color: pvar(--greyForegroundColor);
padding-bottom: 60px;
}
.owner-card {
margin-left: 105px;
grid-column: 2;