]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/about/about.component.html
Filter by category (#720)
[github/Chocobozzz/PeerTube.git] / client / src / app / about / about.component.html
index bcb4ed2becfb90652744a11d3596f91d06c02f43..dc13f785d8f30c4956a168a2ee793fc49e8cc243 100644 (file)
@@ -1,34 +1,50 @@
 <div class="margin-content">
-  <div class="title-page title-page-single">
+  <div i18n class="title-page title-page-single">
     Welcome to the {{ instanceName }} instance
   </div>
 
+  <div class="short-description">
+    <div>{{ shortDescription }}</div>
+  </div>
+
   <div class="description">
-    <div class="section-title">Description</div>
+    <div i18n class="section-title">Description</div>
 
     <div [innerHTML]="descriptionHTML"></div>
   </div>
 
   <div class="terms">
-    <div class="section-title">Terms</div>
+    <div i18n class="section-title">Terms</div>
 
     <div [innerHTML]="termsHTML"></div>
+  </div>
+
+  <div class="signup">
+    <div i18n class="section-title">Signup</div>
+
+    <div *ngIf="isSignupAllowed">
+      <ng-container i18n>User registration is allowed and</ng-container>
+
+      <ng-container i18n *ngIf="userVideoQuota !== -1">
+        this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
+      </ng-container>
+
+      <ng-container i18n *ngIf="userVideoQuota === -1">
+        this instance provides unlimited space for the videos of its users.
+      </ng-container>
+    </div>
 
-    <div *ngIf="userVideoQuota !== -1;else noQuota">
-      This instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
+    <div i18n *ngIf="isSignupAllowed === false">
+      User registration is currently not allowed.
     </div>
-    
-    <ng-template #noQuota>
-      This instance provides unlimited space for the videos of its users.
-    </ng-template>
   </div>
 
   <div id="p2p-privacy">
-    <div class="section-title">P2P & Privacy</div>
+    <div i18n class="section-title">P2P & Privacy</div>
 
-    <p>
+    <p i18n>
       PeerTube uses the BitTorrent protocol to share bandwidth between users. It implies that your public IP address is stored in the public BitTorrent tracker of the video PeerTube instance as long as you're watching the video.
-      If you want to keep your public IP address private, please use a VPN or Tor.
+      If you want to keep your public IP address private, please use a VPN or the Tor Browser.
     </p>
   </div>
 </div>