Skip to content

Commit

Permalink
fix #4674
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed May 9, 2023
1 parent 64104c0 commit 63d3e90
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,4 @@ jobs:
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
${{ github.event.commits[0].message }}
${{ github.event.commits[0].message }}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/nas-tools:latest
${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }}
${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }}
18 changes: 13 additions & 5 deletions web/templates/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,29 @@
</div>
</div>
<div id="main_bottom_menubar" class="position-fixed w-100 d-flex justify-content-between d-sm-none main-bottom-menubar d-none">
<a class="card-btn border-0" href="javascript:navmenu('index')">
{% if "我的媒体库" in CurrentUser.pris %}
<a class="card-btn border-0 px-0 text-center" href="javascript:navmenu('index')">
{{ SVG.home() }}
</a>
<a class="card-btn border-0" href="javascript:navmenu('ranking')">
{% endif %}
{% if "探索" in CurrentUser.pris %}
<a class="card-btn border-0 px-0 text-center" href="javascript:navmenu('ranking')">
{{ SVG.chart_bar() }}
</a>
<a class="card-btn border-0" href="javascript:navmenu('service')">
{% endif %}
{% if "服务" in CurrentUser.pris %}
<a class="card-btn border-0 px-0 text-center" href="javascript:navmenu('service')">
{{ SVG.layout_2() }}
</a>
<a class="card-btn border-0" href="javascript:navmenu('movie_rss')">
{% endif %}
{% if "订阅管理" in CurrentUser.pris %}
<a class="card-btn border-0 px-0 text-center" href="javascript:navmenu('movie_rss')">
{{ SVG.movie() }}
</a>
<a class="card-btn border-0" href="javascript:navmenu('tv_rss')">
<a class="card-btn border-0 px-0 text-center" href="javascript:navmenu('tv_rss')">
{{ SVG.device_tv() }}
</a>
{% endif %}
</div>
</div>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasEnd" aria-labelledby="消息中心">
Expand Down

0 comments on commit 63d3e90

Please sign in to comment.