lib.itmens/catalog/templates/item_review_list.html

62 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2022-12-24 01:28:24 -05:00
{% load static %}
{% load i18n %}
{% load mastodon %}
{% load thumb %}
{% load user_actions %}
{% load duration %}
2025-02-06 19:17:53 +00:00
{% get_current_language as LANGUAGE_CODE %}
2022-12-24 01:28:24 -05:00
<!DOCTYPE html>
2025-02-06 19:17:53 +00:00
<html lang="{{ LANGUAGE_CODE }}" class="content-page">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-05-20 23:17:47 -04:00
<title>{{ site_name }} - {{ item.display_title }} - {% trans 'Reviews' %}</title>
2024-01-07 17:24:34 -05:00
{% include "common_libs.html" %}
</head>
<body>
{% include '_header.html' %}
<main>
<div class="grid__main">
<h5>
2024-05-20 23:17:47 -04:00
<a href="{% url 'catalog:mark_list' item.url_path item.uuid %}">{% trans 'marks' %}</a>
| <a href="{% url 'catalog:mark_list' item.url_path item.uuid 'following' %}">{% trans 'marks from who you follow' %}</a>
| {% trans 'reviews' %}
</h5>
{% for review in reviews %}
<section>
<div class="action">
2023-12-29 16:03:31 -05:00
{% if review.latest_post %}
{% include "action_reply_piece.html" with post=review.latest_post piece=review href=review.url %}
{% include "action_like_post.html" with post=review.latest_post %}
{% include "action_boost_post.html" with post=review.latest_post %}
{% include "action_open_post.html" with post=review.latest_post %}
{% endif %}
<span class="timestamp">{{ review.created_time|date }}</span>
2022-12-24 01:28:24 -05:00
</div>
<div>
{% if review.rating_grade %}{{ review.rating_grade|rating_star }}{% endif %}
<span>
<a href="{% url 'journal:review_retrieve' review.uuid %}">{{ review.title }}</a>
</span>
-
<span>
<a href="{{ review.owner.url }}"
class="nickname"
2024-02-25 23:04:50 -05:00
title="@{{ review.owner.handle }}">{{ review.owner.display_name }}</a>
</span>
</div>
2024-04-20 10:29:40 -04:00
<div class="tldr">{{ review.plain_content }}</div>
</section>
{% empty %}
2024-05-20 23:17:47 -04:00
<div>{% trans 'nothing so far.' %}</div>
{% endfor %}
{% include "_pagination.html" %}
2022-12-24 01:28:24 -05:00
</div>
2023-05-20 14:17:02 -04:00
<aside class="grid__aside top">
2023-06-09 02:45:27 -04:00
{% include "_sidebar_item.html" %}
2023-05-20 14:17:02 -04:00
</aside>
</main>
2023-06-09 03:01:17 -04:00
{% include "_footer.html" %}
2022-12-24 01:28:24 -05:00
</body>
</html>