{% extends "base.html" %} {% block title %} {%- if thread.package -%} {%- if thread.review -%} {%- if thread.review.recommends -%} {%- set rating = "👍" -%} {%- else -%} {%- set rating = "👎" -%} {%- endif -%} {%- endif -%} {{ rating }} {{ _("%(title)s on %(package)s", title=thread.title, package=thread.package.title) }} {%- else -%} {{ thread.title }} {%- endif -%} {% endblock %} {% block headextra %} {% endblock %} {% block content %} {% if current_user.is_authenticated %} {% if current_user in thread.watchers %}
{% else %}
{% endif %} {% if thread and thread.checkPerm(current_user, "DELETE_THREAD") %} {{ _('Delete') }} {% endif %} {% if thread and thread.checkPerm(current_user, "LOCK_THREAD") %} {% if thread.locked %}
{% else %}
{% endif %} {% endif %} {% endif %} {% if current_user == thread.author and thread.review %} {{ _("Edit Review") }} {% endif %}

{% if thread.review %} {% if thread.review.recommends %} {% else %} {% endif %} {% endif %} {% if thread.private %}🔒 {% endif %}{{ thread.title }}

{% if thread.package %}

Package: {{ thread.package.title }}

{% endif %} {% if thread.private %} This thread is only visible to its creator, the package owner, and users of Approver rank or above. {% endif %} {% from "macros/threads.html" import render_thread %} {{ render_thread(thread, current_user) }} {% endblock %}