]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/about/about.component.html
Add ability for uploaders to schedule video update
[github/Chocobozzz/PeerTube.git] / client / src / app / about / about.component.html
index 3bb86208c51e03aa77ab186a50abb374bb3b7ff8..22d3c9a3642cc9ffa5c695c54ca18f1941c3f6c1 100644 (file)
@@ -1,24 +1,48 @@
 <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 i18n *ngIf="isSignupAllowed === false">
+      User registration is currently not allowed.
+    </div>
+  </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.
     </p>