{% extends "base.html" %} {% block title %}{{ project.name }}{% endblock %} {% block content %}

{{ project.name }}

{% if project.id != current_user.current_project_id %} {{ _('Switch to this project') }} {% endif %} {{ _('Back to My Projects') }} {% if project.created_by_id == current_user.id %} {% if not project.is_project_over() %} {% endif %} {% endif %}
{% if project.description %}

{{ project.description }}

{% endif %}
{{ _('Project Information') }}

{{ _('Creator') }}: {% if project.created_by_id == current_user.id %} {{ _('You') }} {% else %} {{ project.created_by.name }} {% endif %}

{{ _('Created') }}: {{ project.created_at.strftime('%Y-%m-%d') }}

{{ _('Members') }}: {{ project.memberships|length }}

{% if project.end_date %}

{{ _('End Date') }}: {{ project.end_date.strftime('%Y-%m-%d %H:%M') }}

{% endif %} {% if project.is_project_over() %}
{{ _('This project has ended') }}
{% elif project.id == current_user.current_project_id %}
{{ _('This is your current active project') }}
{% endif %} {% if project.created_by_id == current_user.id %}
{% elif project.only_show_results_after_end %}

{{ _("Results will only be visible after the project ends") }}

{% endif %}
{{ _('Invitation Link') }}

{{ _('Share this link to invite others to join your project.') }}

{{ _('Project Thoughts') }}

{{ _('Submit New Thought') }}
{% if not show_results and project.only_show_results_after_end %}
{{ _('Results are hidden until the project ends.') }}

{{ _('You can still submit thoughts, but rankings will only be visible after the project is marked as ended.') }}

{% elif thoughts %}
{% for thought in thoughts %}
{{ thought.content }}
{{ thought.total_points() }}
{% endfor %}
{% else %}

{{ _('No thoughts have been submitted to this project yet.') }}

{{ _('Be the first to submit a thought!') }}

{% endif %}
{% endblock %}