Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Display account/channel creation date in title

Chocobozzzace396c4e0d6
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html
index 03d083bb68..1b2c113116 100644
--- a/client/src/app/+accounts/accounts.component.html
+++ b/client/src/app/+accounts/accounts.component.html
@@ -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"
diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss
index a836e84ce3..56927dea69 100644
--- a/client/src/app/+accounts/accounts.component.scss
+++ b/client/src/app/+accounts/accounts.component.scss
@@ -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;
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html
index 1312a1b3ce..91db820fc9 100644
--- a/client/src/app/+video-channels/video-channels.component.html
+++ b/client/src/app/+video-channels/video-channels.component.html
@@ -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"
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss
index b19b4c81b1..112ec1c224 100644
--- a/client/src/app/+video-channels/video-channels.component.scss
+++ b/client/src/app/+video-channels/video-channels.component.scss
@@ -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;