customizable support link
This commit is contained in:
parent
069833a838
commit
7686921020
3 changed files with 3 additions and 3 deletions
|
@ -191,7 +191,7 @@ AUTH_USER_MODEL = 'users.User'
|
|||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
|
||||
|
||||
SITE_INFO = {'site_name': 'NeoDB'}
|
||||
SITE_INFO = {'site_name': 'NeoDB', 'support_link': 'https://github.com/doubaniux/boofilsic/issues'}
|
||||
|
||||
# Mastodon configs
|
||||
CLIENT_NAME = 'NiceDB'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="grid">
|
||||
<div class="footer__border">
|
||||
<a class="footer__link" target="_blank" href="https://donotban.com/@whitiewhite">作者长毛象</a>
|
||||
<a class="footer__link" target="_blank" href="https://github.com/doubaniux/boofilsic/issues">报告错误</a>
|
||||
<a class="footer__link" target="_blank" href="{{ support_link }}">报告错误</a>
|
||||
<a class="footer__link" target="_blank" href="https://github.com/doubaniux/boofilsic" id="githubLink">Github</a>
|
||||
<a class="footer__link" target="_blank" href="https://patreon.com/tertius" id="sponsor">捐助项目</a>
|
||||
<a class="footer__link" target="_blank" href="/announcement/supported-sites/" id="supported-sites">支持的网站</a>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="navbar__search-box">
|
||||
<!-- <input type="search" class="" name="q" id="searchInput" required="true" value="{% for v in request.GET.values %}{{ v }}{% endfor %}" -->
|
||||
<input type="search" class="" name="q" id="searchInput" required="true" value="{% if request.GET.q %}{{ request.GET.q }}{% endif %}"
|
||||
placeholder="搜索书影音">
|
||||
placeholder="搜索书影音游戏,或输入豆瓣、Steam、Spotify、IMDB、Bangumi条目链接">
|
||||
<select class="navbar__search-dropdown" id="searchCategory">
|
||||
<option value="all" {% if request.GET.c and request.GET.c != 'movie' and request.GET.c != 'book' or not request.GET.c %}selected{% endif %}>{% trans '任意' %}</option>
|
||||
<option value="book" {% if request.GET.c and request.GET.c == 'book' %}selected{% endif %}>{% trans '书籍' %}</option>
|
||||
|
|
Loading…
Add table
Reference in a new issue