forked from doubaniux/boofilsic
-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Dec 30, 2024
1 parent
bea87f2
commit 6d377c4
Showing
57 changed files
with
2,487 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "_item_card_metadata_base.html" %} | ||
{% load humanize %} | ||
{% load i18n %} | ||
{% block brief %} | ||
<div class="multi-fields"> | ||
{% if item.rating %} | ||
<span class="solo-hidden">{{ item.rating | floatformat:1 }} <small>({{ item.rating_count }} {% trans "ratings" %})</small></span> | ||
{% endif %} | ||
{% include '_people.html' with people=item.host role='host' max=5 %} | ||
</div> | ||
{% endblock brief %} | ||
{% block full %} | ||
<div> | ||
{% if not hide_brief %}{{ item.display_description | linebreaksbr }}{% endif %} | ||
</div> | ||
{% endblock full %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{% load static %} | ||
{% load i18n %} | ||
{% load l10n %} | ||
{% load humanize %} | ||
{% load mastodon %} | ||
{% load duration %} | ||
{% load thumb %} | ||
<hgroup> | ||
<h5>“{{ request.GET.q }}”</h5> | ||
<div class="search-category-picker"> | ||
{% visible_categories as cats %} | ||
{% if request.GET.c and request.GET.c != 'all' %} | ||
<a href="?q={{ request.GET.q }}&c=all">{% trans "all" %}</a> | ||
{% else %} | ||
{% trans "all" %} | ||
{% endif %} | ||
{% if 'book' in cats %} | ||
| | ||
{% if request.GET.c != 'book' %} | ||
<a href="?q={{ request.GET.q }}&c=book">{% trans "books" %}</a> | ||
{% else %} | ||
{% trans "books" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if 'movie' in cats or 'tv' in cats %} | ||
| | ||
{% if request.GET.c != 'movietv' %} | ||
<a href="?q={{ request.GET.q }}&c=movietv">{% trans "movie & tv" %}</a> | ||
{% else %} | ||
{% trans "movie & tv" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if 'podcast' in cats %} | ||
| | ||
{% if request.GET.c != 'podcast' %} | ||
<a href="?q={{ request.GET.q }}&c=podcast">{% trans "podcasts" %}</a> | ||
{% else %} | ||
{% trans "podcasts" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if 'music' in cats %} | ||
| | ||
{% if request.GET.c != 'music' %} | ||
<a href="?q={{ request.GET.q }}&c=music">{% trans "music" %}</a> | ||
{% else %} | ||
{% trans "music" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if 'game' in cats %} | ||
| | ||
{% if request.GET.c != 'game' %} | ||
<a href="?q={{ request.GET.q }}&c=game">{% trans "games" %}</a> | ||
{% else %} | ||
{% trans "games" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if 'performance' in cats %} | ||
| | ||
{% if request.GET.c != 'performance' %} | ||
<a href="?q={{ request.GET.q }}&c=performance">{% trans "performances" %}</a> | ||
{% else %} | ||
{% trans "performances" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if user.is_authenticated %} | ||
| | ||
{% if request.GET.c != 'journal' %} | ||
<a href="?q={{ request.GET.q }}&c=journal">{% trans "your journal" %}</a> | ||
{% else %} | ||
{% trans "your journal" %} | ||
{% endif %} | ||
| | ||
{% if request.GET.c != 'timeline' %} | ||
<a href="?q={{ request.GET.q }}&c=timeline">{% trans "your timeline" %}</a> | ||
{% else %} | ||
{% trans "your timeline" %} | ||
{% endif %} | ||
{% endif %} | ||
</div> | ||
</hgroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.