]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/about/about.component.html
Add short description in about page
[github/Chocobozzz/PeerTube.git] / client / src / app / about / about.component.html
index 3bb86208c51e03aa77ab186a50abb374bb3b7ff8..6fa856742fb46108fcc438a887c648ccd562e38d 100644 (file)
@@ -3,6 +3,10 @@
     Welcome to the {{ instanceName }} instance
   </div>
 
+  <div class="short-description">
+    <div>{{ shortDescription }}</div>
+  </div>
+
   <div class="description">
     <div class="section-title">Description</div>
 
     <div [innerHTML]="termsHTML"></div>
   </div>
 
+  <div class="signup">
+    <div class="section-title">Signup</div>
+
+    <div *ngIf="isSignupAllowed">
+      User registration is allowed and
+
+      <ng-template [ngIf]="userVideoQuota !== -1">
+        this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
+      </ng-template>
+
+      <ng-template [ngIf]="userVideoQuota === -1">
+        this instance provides unlimited space for the videos of its users.
+      </ng-template>
+    </div>
+
+    <div *ngIf="isSignupAllowed === false">
+      User registration is currently not allowed.
+    </div>
+  </div>
+
   <div id="p2p-privacy">
     <div class="section-title">P2P & Privacy</div>