From eb1c4ff1b2ac738def75dd3e5af3dd322dfd84b2 Mon Sep 17 00:00:00 2001 From: Bat Date: Sun, 15 Apr 2018 15:23:58 +0100 Subject: [PATCH] Translate federation components --- .../src/components/federation/LibraryCard.vue | 22 ++++----- .../federation/LibraryFollowTable.vue | 48 ++++++++++++------- .../src/components/federation/LibraryForm.vue | 10 ++-- .../federation/LibraryTrackTable.vue | 23 +++++---- 4 files changed, 60 insertions(+), 43 deletions(-) diff --git a/front/src/components/federation/LibraryCard.vue b/front/src/components/federation/LibraryCard.vue index a5579c125..f91b003eb 100644 --- a/front/src/components/federation/LibraryCard.vue +++ b/front/src/components/federation/LibraryCard.vue @@ -7,41 +7,39 @@
- Following + - Followers only + - Open + - {{ totalItems }} tracks + + {{ totalItems }} +
- - + +
- Detail +
diff --git a/front/src/components/federation/LibraryFollowTable.vue b/front/src/components/federation/LibraryFollowTable.vue index 9a35e0db6..fd16d8371 100644 --- a/front/src/components/federation/LibraryFollowTable.vue +++ b/front/src/components/federation/LibraryFollowTable.vue @@ -8,7 +8,7 @@
- +
@@ -17,10 +17,10 @@ - - - - + + + + @@ -33,27 +33,36 @@ @@ -71,7 +80,12 @@ > + + {{ ((page-1) * paginateBy) + 1 }} + {{ ((page-1) * paginateBy) + result.results.length }} + {{ result.count }} + + diff --git a/front/src/components/federation/LibraryForm.vue b/front/src/components/federation/LibraryForm.vue index 3aec5213d..7e1d5c49f 100644 --- a/front/src/components/federation/LibraryForm.vue +++ b/front/src/components/federation/LibraryForm.vue @@ -1,9 +1,9 @@
ActorCreation dateStatusActions
- Deny -

Deny access?

-

By confirming, {{ follow.actor.preferred_username }}@{{ follow.actor.domain }} will be denied access to your library.

-

Deny

+ +

+

+ + {{ follow.actor.preferred_username }} + {{ follow.actor.domain }} + +

+

- Approve -

Approve access?

-

By confirming, {{ follow.actor.preferred_username }}@{{ follow.actor.domain }} will be granted access to your library.

-

Approve

+ +

+

+ + {{ follow.actor.preferred_username }} + {{ follow.actor.domain }} + +

- Showing results {{ ((page-1) * paginateBy) + 1 }}-{{ ((page-1) * paginateBy) + result.results.length }} on {{ result.count }}