updated footer (fixes #1)

This commit is contained in:
Felix 2020-02-14 02:15:56 +01:00
parent ef90fd6f1e
commit 11ebb37b08
6 changed files with 35 additions and 34 deletions

View file

@ -35,6 +35,9 @@
- { src: 'templates/docker-compose.yml', dest: '/joinpeertube/docker-compose.yml' }
- { src: 'templates/nginx.conf', dest: '/etc/nginx/sites-enabled/joinpeertube.conf' }
# TODO: add instances.json to .gitignore and generate it in here
- name: build the dev docker image
local_action: shell cd .. && sudo docker build . -f docker/Dockerfile -t joinpeertube:latest
register: image_build

View file

@ -6,6 +6,7 @@ COPY package.json .
RUN yarn install --pure-lockfile \
&& yarn cache clean
# TODO: copy only the required files here
COPY . .
RUN yarn run build

View file

@ -9,7 +9,13 @@
"version": "2.0.0",
"signupAllowed": false,
"userVideoQuota": -1,
"categories": [],
"categories": [
14,
1,
11,
15,
8
],
"languages": [
"es",
"de",
@ -23,9 +29,9 @@
"defaultNSFWPolicy": "do_not_list",
"isNSFW": false,
"totalUsers": 1977,
"totalVideos": 96066,
"totalLocalVideos": 4686,
"totalInstanceFollowers": 75,
"totalVideos": 96379,
"totalLocalVideos": 4704,
"totalInstanceFollowers": 82,
"totalInstanceFollowing": 307,
"health": null,
"createdAt": null
@ -35,8 +41,8 @@
"host": "tube.tchncs.de",
"name": "tchncs",
"shortDescription": "PeerTube instance for your unique Vlogs and what not. \ud83d\ude09",
"version": "2.0.0",
"signupAllowed": false,
"version": "2.1.0",
"signupAllowed": true,
"userVideoQuota": -1,
"categories": [
10,
@ -55,10 +61,10 @@
"autoBlacklistUserVideosEnabled": true,
"defaultNSFWPolicy": "blur",
"isNSFW": false,
"totalUsers": 230,
"totalVideos": 4129,
"totalLocalVideos": 573,
"totalInstanceFollowers": 84,
"totalUsers": 231,
"totalVideos": 4119,
"totalLocalVideos": 561,
"totalInstanceFollowers": 85,
"totalInstanceFollowing": 6,
"health": null,
"createdAt": null
@ -97,7 +103,7 @@
"host": "video.deadsuperhero.com",
"name": "DeadSuperHero Video",
"shortDescription": "A federated PeerTube instance of all of Sean Tilley's video projects.",
"version": "2.0.0",
"version": "2.1.0",
"signupAllowed": false,
"userVideoQuota": -1,
"categories": [
@ -111,9 +117,9 @@
"defaultNSFWPolicy": "display",
"isNSFW": false,
"totalUsers": 4,
"totalVideos": 66880,
"totalVideos": 68605,
"totalLocalVideos": 39,
"totalInstanceFollowers": 134,
"totalInstanceFollowers": 135,
"totalInstanceFollowing": 61,
"health": null,
"createdAt": null
@ -138,10 +144,10 @@
"autoBlacklistUserVideosEnabled": false,
"defaultNSFWPolicy": "blur",
"isNSFW": false,
"totalUsers": 342,
"totalVideos": 4435,
"totalLocalVideos": 1146,
"totalInstanceFollowers": 89,
"totalUsers": 352,
"totalVideos": 4437,
"totalLocalVideos": 1148,
"totalInstanceFollowers": 93,
"totalInstanceFollowing": 6,
"health": null,
"createdAt": null
@ -172,9 +178,9 @@
"defaultNSFWPolicy": "blur",
"isNSFW": false,
"totalUsers": 60,
"totalVideos": 4062,
"totalLocalVideos": 615,
"totalInstanceFollowers": 111,
"totalVideos": 4049,
"totalLocalVideos": 618,
"totalInstanceFollowers": 113,
"totalInstanceFollowing": 6,
"health": null,
"createdAt": null

View file

@ -2,20 +2,10 @@
<footer id="main-footer">
<div class="links">
<div>
<a target="_blank" rel="noopener noreferrer" href="https://framasoft.org/en/legals/" v-translate>Legal notices</a>
<a target="_blank" rel="noopener noreferrer" href="https://contact.framasoft.org" v-translate>Contact</a>
<a target="_blank" rel="noopener noreferrer" href="https://framalistes.org/sympa/subscribe/peertube-newsletter" v-translate>Newsletter</a>
<a target="_blank" rel="noopener noreferrer" href="https://framacolibri.org/c/peertube" v-translate>Forum</a>
</div>
<div>
<a target="_blank" rel="noopener noreferrer" v-bind:href="buildPublicUrl('press-kit.zip')" v-translate>Press kit</a>
<a target="_blank" rel="noopener noreferrer" href="https://framagit.org/framasoft/peertube/joinpeertube" v-translate>JoinPeerTube Git</a>
<a target="_blank" rel="noopener noreferrer" href="https://yerbamate.dev/nutomic/joinpeertube" v-translate>join.peertube.social Git</a>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/Chocobozzz/PeerTube" v-translate>PeerTube Git</a>
</div>
@ -23,7 +13,7 @@
<div class="credits">
<div v-translate>
Website developed by <a target="_blank" rel="noopener noreferrer" href="https://framasoft.org">Framasoft</a> and designed by <a target="_blank" rel="noopener noreferrer" href="https://www.maiwann.net/">Maiwann</a>
Website hosted and maintained by <a rel="noopener noreferrer" href="https://radical.town/@felix">@felix@radical.town</a>, originally developed by <a rel="noopener noreferrer" href="https://framasoft.org">Framasoft</a> and designed by <a rel="noopener noreferrer" href="https://www.maiwann.net/">Maiwann</a>
</div>
<div v-translate>

View file

@ -47,6 +47,7 @@
<icon-followers></icon-followers>
</div>
<div>
<!-- TODO: wtf is this bullshit why is there hardcoded english? -->
<translate :translate-n="instance.totalInstanceFollowers"
translate-plural="%{ instance.totalInstanceFollowers } followers instances">
%{ instance.totalInstanceFollowers } follower instance