From: Chocobozzz Date: Tue, 3 Sep 2019 09:23:20 +0000 (+0200) Subject: Better welcome modal X-Git-Tag: v2.0.0-rc.1~79 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=592c735c19b25e9b38f82d90d15a81307902ed62;p=oweals%2Fpeertube.git Better welcome modal --- diff --git a/client/src/app/modal/instance-config-warning-modal.component.html b/client/src/app/modal/instance-config-warning-modal.component.html index f9e07333a..64f14e69b 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.html +++ b/client/src/app/modal/instance-config-warning-modal.component.html @@ -10,7 +10,7 @@ -

Please consider to configure these fields to help people to choose the appropriate instance.

+

+ Please consider to configure these fields to help people to choose the appropriate instance. + Without them, your instance may not be referenced on JoinPeerTube website. +

Configure these fields diff --git a/client/src/app/modal/instance-config-warning-modal.component.scss b/client/src/app/modal/instance-config-warning-modal.component.scss index 5888736c1..ff62a1b9c 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.scss +++ b/client/src/app/modal/instance-config-warning-modal.component.scss @@ -17,4 +17,6 @@ li { text-align: center; font-weight: 600; font-size: 18px; + margin-top: 40px; + margin-bottom: 10px; } diff --git a/client/src/app/modal/instance-config-warning-modal.component.ts b/client/src/app/modal/instance-config-warning-modal.component.ts index 08d83f383..742a7dd41 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.ts +++ b/client/src/app/modal/instance-config-warning-modal.component.ts @@ -31,6 +31,11 @@ export class InstanceConfigWarningModalComponent { }) } + isDefaultShortDescription (description: string) { + return description === 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly ' + + 'in the web browser with WebTorrent and Angular.' + } + private doNotOpenAgain () { this.userService.updateMyProfile({ noInstanceConfigWarningModal: true }) .subscribe( diff --git a/client/src/app/modal/welcome-modal.component.html b/client/src/app/modal/welcome-modal.component.html index 79e6d4667..09ff2163b 100644 --- a/client/src/app/modal/welcome-modal.component.html +++ b/client/src/app/modal/welcome-modal.component.html @@ -6,44 +6,42 @@