more visual tweaks

This commit is contained in:
Your Name 2023-05-22 12:41:27 -04:00 committed by Henri Dickson
parent 6d97e60e33
commit 1ec95bb7d0
5 changed files with 10 additions and 10 deletions

View file

@ -67,7 +67,7 @@
{% endfor %}
</div>
<div class="tv-tip" style="display:none;">
里是全剧条目,建议选择单季标记
是全剧条目,以下是可标记的单季
{% if item.class_name == 'tvshow' %}
{% with item.all_seasons as seasons %}
{% if seasons %}

View file

@ -20,16 +20,20 @@
rel="noopener"
{% if comment.metadata.shared_link %} href="{{ comment.metadata.shared_link }}" title="打开联邦网络分享链接" {% else %} class="disabled" {% endif %}><i class="fa-solid {% if comment.visibility > 0 %} fa-lock {% else %} fa-globe {% endif %}"></i></a>
</span>
<span class="timestamp">{{ comment.created_time|date }}</span>
</span>
<span>
{% if comment.rating_grade %}{{ comment.rating_grade|rating_star }}{% endif %}
<a href="{% url 'journal:user_profile' comment.owner.mastodon_username %}"
class="nickname"
title="@{{ comment.owner.mastodon_username }}">{{ comment.owner.display_name }}</a>
{{ comment.mark.action_label }}
{% if comment.focus_item %}<a href="{{ comment.focus_item.url }}">{{ comment.focus_item.title }}</a>{% endif %}
</span>
<span class="action inline">
<span class="timestamp">
{{ comment.created_time|date }}
{{ comment.mark.action_label }}
</span>
</span>
<div>{{ comment.html|safe }}</div>
</section>
{% else %}

View file

@ -20,14 +20,15 @@
rel="noopener"
{% if review.metadata.shared_link %} href="{{ review.metadata.shared_link }}" title="打开联邦网络分享链接" {% else %} class="disabled" {% endif %}><i class="fa-solid {% if review.visibility > 0 %} fa-lock {% else %} fa-globe {% endif %}"></i></a>
</span>
<span class="timestamp">{{ review.created_time|date }}</span>
</span>
<span>
{% if review.rating_grade %}{{ review.rating_grade|rating_star }}{% endif %}
<a href="{% url 'journal:user_profile' review.owner.mastodon_username %}"
class="nickname"
title="@{{ review.owner.mastodon_username }}">{{ review.owner.display_name }}</a>
{{ review.mark.action_label | default:"" }}
</span>
<span class="action inline">
<span class="timestamp">{{ review.created_time|date }}</span>
</span>
<div>
<span>

View file

@ -53,10 +53,6 @@ details {
margin: 0;
}
section section {
margin-bottom: var(--pico-spacing) !important;
}
.empty {
font-style: italic;
font-size: 80%;

View file

@ -376,7 +376,6 @@ def collection_share(request, collection_uuid):
raise BadRequest()
@login_required
def collection_retrieve_items(request, collection_uuid, edit=False, msg=None):
collection = get_object_or_404(Collection, uid=get_uuid_or_404(collection_uuid))
if not collection.is_visible_to(request.user):