{% extends "layout.html" %} {% import "macros/_detail.html" as detail %} {% import "macros/_project.html" as ppp %} {% block page_title %}{{project.name}} - {{project.event.name}}{% endblock %} {% block page_meta %} {% endblock %} {% block css %} {% endblock %} {% block js %} {% endblock %} {% block body_class %}project-home{% endblock %} {% block content %} {{ detail.render_project_buttons(project, project_starred, past_version, allow_edit, lock_editing, allow_revert, allow_post, current_user, False) }} {{ detail.render_project_image(project) }} {{ detail.render_project_head(project) }} {% if not project.is_challenge and not project.event.lock_resources %}
Challenge
{% endif %} {% if project.stats %}
{{ ppp.render_project_stats(project) }} {% endif %}
{% if suggestions %}
{% for project in suggestions %}
{{ project.name }}

{{ project.summary|truncate(65) }}

{% endfor %}
{% endif %} {% if project_dribs and not project.event.lock_resources %}
{% if allow_post and not project.is_challenge %}
Post {% if config.LLM_API_KEY %} {% endif %}
{% include "includes/projectdialogs.html" %} {% endif %}
{% for s in project_dribs %}
{% if s.icon %} {% endif %}
{% if s.title and not s.text %}

{{s.title}}

{% elif s.title %}

{{s.title}}

{% endif %} {% if s.id and (allow_post or current_user.is_admin) %} × {% endif %} {% if s.id and s.icon == 'paperclip' %} {% endif %} {% if s.text %}
{{s.text|markdown|safe}}
{% endif %} {% if not s.title %}
{% if s.ref_url %} {% endif %} {{ s.timesince }} {% if s.author %} ~ {{ s.author }} {% endif %} {% if s.ref_url %} {% endif %}
{% endif %}
{% endfor %}
{% include "includes/projectnav.html" %}
{% endif %} {% if project.user %}
Posted {{ project.created_at|until_date }} by {{ project.user.username }} for {{ project.event.name }}
{% endif %}
{{project.event.community_embed|safe}}
{% if allow_edit %} {% include "includes/projectdialogs.html" %} {% endif %} {% endblock %}