{% extends "base.html" %} {% block title %} {%- if thread.package -%} {%- if thread.review -%} {%- if thread.review.recommends -%} {%- set rating = "👍" -%} {%- else -%} {%- set rating = "👎" -%} {%- endif -%} {%- endif -%} {{ rating }} {{ thread.title }} - {{ 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.checkPerm(current_user, "DELETE_THREAD") %} {{ _('Delete') }} {% endif %} {% if thread.review and thread.review.checkPerm(current_user, "DELETE_REVIEW") and current_user.username != thread.review.author.username %} {% endif %} {% if thread.checkPerm(current_user, "LOCK_THREAD") %} {% if thread.locked %} {% else %} {% endif %} {% endif %} {% endif %} {% if current_user == thread.author and thread.review %} {{ _("Edit Review") }} {% endif %}{{ _("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 %}