From d03aceae1a9195885a7890a121dbfad24f4ff3d6 Mon Sep 17 00:00:00 2001 From: Ben Kuskopf Date: Thu, 20 May 2021 19:25:11 +1000 Subject: [PATCH] feat(webui): add back button on book view * Add a back to arrow to the navigation on the book page to return to the books series * Update BrowseBook.vue * feat: conditional back button depending on context also uses proper tooltip instead of title Co-authored-by: Gauthier Roebroeck --- komga-webui/src/locales/en.json | 2 ++ komga-webui/src/views/BrowseBook.vue | 26 ++++++++++++++++++++++++++ komga-webui/src/views/BrowseSeries.vue | 17 +++++++++++------ 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/komga-webui/src/locales/en.json b/komga-webui/src/locales/en.json index c284e16db..68747e879 100644 --- a/komga-webui/src/locales/en.json +++ b/komga-webui/src/locales/en.json @@ -163,6 +163,8 @@ "filter_no_matches": "The active filter has no matches", "genre": "Genre", "go_to_library": "Go to library", + "go_to_series": "Go to series", + "go_to_readlist": "Go to read list", "locale_name": "English", "locale_rtl": "false", "n_selected": "{count} selected", diff --git a/komga-webui/src/views/BrowseBook.vue b/komga-webui/src/views/BrowseBook.vue index d6f0a4ab9..43532f59c 100644 --- a/komga-webui/src/views/BrowseBook.vue +++ b/komga-webui/src/views/BrowseBook.vue @@ -1,6 +1,20 @@