{% macro render_project_buttons(project, project_starred, past_version, allow_edit, lock_editing, allow_revert, allow_post, current_user, main_view) %} {% if not project.event.lock_resources %}
{%- if not main_view %}{% if project.is_challenge %} Challenge {%- else %} Pitch{% endif %}{% endif %} {% if main_view %} Log{% endif %}
{% endif %}
{% if past_version and allow_revert %} ⎌ Restore {% endif %} {% if allow_post %} Post {% elif current_user and current_user.active %} Comment {% endif %} {% if allow_edit %} {% endif %} {% if not lock_editing and not project.event.has_finished and not project.event.lock_resources and not past_version %} {% if project_starred %} {% elif project.is_approved %} Join {% endif %} {% endif %}

{% endmacro %} {% macro render_project_image(project) %}   {% if project.image_url %}
{% endif %} {% endmacro %} {% macro render_project_head(project) %}
{% if project.ident %}
{{ project.ident }}
{% endif %} {% if project.event.lock_resources %} {{project.phase}} {% elif project.score and not project.is_challenge %}
{% elif challenge_when %}

Challenge view

Back to Project
{% endif %} {% if project.category %}
{% if project.category.logo_icon %} {% else %} {% endif %} {{ project.category.name }}
{% endif %}
{% if project.logo_icon %} {% if project.logo_icon|length==1 %} {{project.logo_icon}} {% else %} {% endif %} {% endif %}

{{project.name}}

{% if project.summary %}

{{project.summary}}

{% endif %} {% if project.hashtag %}

{{project.hashtag}}

{% endif %}
{% endmacro %}