aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-13 15:45:49 +0200
committerChocobozzz <me@florianbigard.com>2021-04-13 15:57:05 +0200
commitace396c4e0d65362fd8b82c86e88085622927b43 (patch)
tree85806231be55d4cc32bc0424a5fccca876ddcd8c /client/src/app/+accounts
parenta073c912700e1ecda70a463f334f316dc62db7a4 (diff)
downloadPeerTube-ace396c4e0d65362fd8b82c86e88085622927b43.tar.gz
PeerTube-ace396c4e0d65362fd8b82c86e88085622927b43.tar.zst
PeerTube-ace396c4e0d65362fd8b82c86e88085622927b43.zip
Display account/channel creation date in title
It's not a really important information
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r--client/src/app/+accounts/accounts.component.html4
-rw-r--r--client/src/app/+accounts/accounts.component.scss7
2 files changed, 2 insertions, 9 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html
index 03d083bb6..1b2c11311 100644
--- a/client/src/app/+accounts/accounts.component.html
+++ b/client/src/app/+accounts/accounts.component.html
@@ -10,7 +10,7 @@
10 <div class="actor-info"> 10 <div class="actor-info">
11 <div> 11 <div>
12 <div class="actor-display-name"> 12 <div class="actor-display-name">
13 <h1>{{ account.displayName }}</h1> 13 <h1 i18n-title [title]="'Created on ' + (account.createdAt | date)">{{ account.displayName }}</h1>
14 14
15 <my-user-moderation-dropdown 15 <my-user-moderation-dropdown
16 [prependActions]="prependModerationActions" 16 [prependActions]="prependModerationActions"
@@ -48,8 +48,6 @@
48 48
49 <div class="description" [ngClass]="{ expanded: accountDescriptionExpanded }"> 49 <div class="description" [ngClass]="{ expanded: accountDescriptionExpanded }">
50 <div class="description-html" [innerHTML]="accountDescriptionHTML"></div> 50 <div class="description-html" [innerHTML]="accountDescriptionHTML"></div>
51
52 <div class="created-at" i18n>Account created on {{ account.createdAt | date }}</div>
53 </div> 51 </div>
54 52
55 <div *ngIf="hasShowMoreDescription()" class="show-more" role="button" 53 <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 a836e84ce..56927dea6 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,
53 background-color: pvar(--submenuBackgroundColor); 53 background-color: pvar(--submenuBackgroundColor);
54 margin-bottom: 45px; 54 margin-bottom: 45px;
55 padding-top: var(--myGlobalTopPadding); 55 padding-top: var(--myGlobalTopPadding);
56 padding-bottom: var(--myGlobalTopPadding);
56 font-size: var(--myFontSize); 57 font-size: var(--myFontSize);
57} 58}
58 59
@@ -66,12 +67,6 @@ my-user-moderation-dropdown,
66 word-break: break-word; 67 word-break: break-word;
67} 68}
68 69
69.created-at {
70 margin-top: 15px;
71 color: pvar(--greyForegroundColor);
72 padding-bottom: 60px;
73}
74
75.show-more { 70.show-more {
76 @include show-more-description; 71 @include show-more-description;
77 72