Merge branch 'feature/filter-nsfw-instances' into 'master'

Hide instances displaying nsfw from reg table

See merge request framasoft/peertube/joinpeertube!48
This commit is contained in:
Chocobozzz 2019-02-08 14:12:44 +01:00
commit 30963bc89a
3 changed files with 12 additions and 6 deletions

View file

@ -39,7 +39,7 @@
</a>
</li>
<li>
<a :href="$root.link.instancesPT"
<a href="#register"
v-html="$t('menu.instances')">
</a>
</li>

View file

@ -21,6 +21,11 @@
<li v-if="instance.userVideoQuota">{{ instance.userVideoQuotaBytes }} {{ $t('home.getting-started.register.instances.per_user') }}</li>
</div>
</a>
<!-- TODO: add link to instances list webpage -->
<!--<a v-bind:href="$root.link.instancesPT" class="list-group-item" target="_blank">-->
<!--{{ $t('home.getting-started.register.instances.see-more') }}-->
<!--</a>-->
</div>
</div>
</template>
@ -72,7 +77,8 @@ export default {
start: 0,
count: 100,
signup: true,
healthy: true
healthy: true,
nsfwPolicy: [ 'do_not_list', 'blur' ]
}
}
axios('https://instances.joinpeertube.org/api/v1/instances', options)