{% extends "base.html" %} {% block title %}{{ _('Thought Ranking') }} - {{ _('Wunschkonzert') }}{% endblock %} {% block content %}

{{ _("Thought Ranking") }}

{{ _("Here are all thoughts ranked by the community. Thoughts with the same points are randomly sorted.") }}

{% if current_project and current_project.only_show_results_after_end and not current_project.is_project_over() %}
{{ _('Results are hidden until the project ends.') }} {{ _('You can still submit thoughts and vote, but total points will only be visible after the project is marked as ended.') }}
{% endif %} {% if thoughts %} {% for thought in thoughts %}
{% set user_ranking = UserRanking.get_user_ranking(request.current_user.id, thought.id) %} {% if user_ranking and user_ranking.essential %} {{ _('Essential') }} {% endif %} {% if user_ranking and user_ranking.vetoed %} {{ _('Vetoed') }} {% endif %} {{ thought.content }}
{% if thought.hide_points %} {{ _('Hidden') }} {% else %} {{ thought.total_points }} {{ _('points') }} {% endif %}
{% set user_ranking = UserRanking.get_user_ranking(request.current_user.id, thought.id) %} {{ user_ranking.points if user_ranking else 0 }}
{% endfor %} {% else %}
{{ _('No thoughts have been submitted yet.') }} {{ _('Be the first to submit a thought!') }}
{% endif %}
{{ _('How Ranking Works') }}
  • {{ _('You can rank thoughts from -10 to +10 points') }}
  • {{ _("Mark up to 5 thoughts as \"essential\" (+5 points each)") }}
  • {{ _('Mark up to 5 thoughts as "vetoed" (-5 points each)') }}
  • {{ _('Thoughts with the same points are randomly sorted') }}
{{ _("Your Status") }}

{{ _('Essential thoughts:') }} {{ request.current_user.count_essentials(current_project.id if current_project else None) }}/5 {% if current_project %} ({{ _('in this project') }}) {% endif %}

{{ _('Vetoed thoughts:') }} {{ request.current_user.count_vetoes(current_project.id if current_project else None) }}/5 {% if current_project %} ({{ _('in this project') }}) {% endif %}

{% endblock %} {% block extra_js %} {% endblock %}