From 63d3e901cfd10b37d51b72a4652f72aa991e007a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 9 May 2023 15:14:04 +0800 Subject: [PATCH] fix #4674 --- .github/workflows/build-package.yml | 2 +- .github/workflows/build.yml | 2 +- web/templates/navigation.html | 18 +++++++++++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 92ac056d..0c9c4553 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -281,4 +281,4 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} format: markdown message: | - ${{ github.event.commits[0].message }} + ${{ github.event.commits[0].message }} \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8bc31c8..5881975d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,4 +54,4 @@ jobs: push: true tags: | ${{ secrets.DOCKER_USERNAME }}/nas-tools:latest - ${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }} \ No newline at end of file + ${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }} diff --git a/web/templates/navigation.html b/web/templates/navigation.html index ba7a3fe2..4e297a13 100644 --- a/web/templates/navigation.html +++ b/web/templates/navigation.html @@ -104,21 +104,29 @@
- + {% if "我的媒体库" in CurrentUser.pris %} + {{ SVG.home() }} - + {% endif %} + {% if "探索" in CurrentUser.pris %} + {{ SVG.chart_bar() }} - + {% endif %} + {% if "服务" in CurrentUser.pris %} + {{ SVG.layout_2() }} - + {% endif %} + {% if "订阅管理" in CurrentUser.pris %} + {{ SVG.movie() }} - + {{ SVG.device_tv() }} + {% endif %}