Back to Peertube

Instance Stat Rules.Component

client/src/app/+about/about-instance/instance-stat-rules.component.html

8.1.51.9 KB
Original Source

Our platform in figures

{{ stats().totalModerators + stats().totalAdmins | number }} moderators

{{ stats().totalUsers | number }} users

**{{ stats().totalLocalVideos | number }}**videos

{{ stats().totalLocalVideoViews | number }} views

{{ stats().totalLocalVideoComments | number }} comments

{{ stats().totalLocalVideoFilesSize | bytes:1 }} hosted videos

Usage rules

@if (config().instance.serverCountry) {

This platform has been created in {{ config().instance.serverCountry }} Your content (comments, videos...) must comply with the legislation in force in this country. @if (aboutHTML().codeOfConduct) { You must also follow our code of conduct. }

}

@if (config().signup.allowed && config().signup.allowedForCurrentIP) {

} @else {

}

@if (config().signup.allowed && config().signup.allowedForCurrentIP) { @if (config().signup.requiresApproval) { You can request an account on our platform @if (stats().averageRegistrationRequestResponseTimeMs) { Our moderator will validate it within a {{ stats().averageRegistrationRequestResponseTimeMs | myDaysDurationFormatter }}. } @else { Our moderator will validate it within a few days. } } @else { You can create an account on our platform } } @else { Public registration on our platform is not allowed }

@if (config().federation.enabled) {

This platform is compatible with Mastodon, Lemmy, Misskey and other services from the Fediverse You can use these services to interact with our videos

} @if (canUpload()) {

You can publish videos By default, your account allows you to publish videos. @if (canPublishLive()) { You can also stream lives. }

} @else {

@if (isContactFormEnabled()) { Contact us to publish videos } @else { You can't publish videos } By default, your account does not allow to publish videos. @if (isContactFormEnabled()) { If you want to publish videos, contact us. }

}