{% extends "layout.html" %} {% import "macros/_misc.html" as misc %} {% import "macros/_social.html" as social %} {% 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 %} {% if project.score and project.score < 1 and allow_edit and current_event.aftersubmit %}
×
{{ current_event.aftersubmit|markdown }}
{% endif %}
{% if past_version and allow_revert %} ⎌ Restore {% endif %} {% if allow_post %} Post {% elif current_user and current_user.active and not project.event.lock_resources %} Comment {% endif %} {% if allow_edit %} 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 %} {% else %} Join team {% endif %} {% endif %}

{% if project.image_url %}
{% if allow_edit %} {% endif %} {% endif %}
{% if project.ident %}
{{ project.ident }}
{% endif %} {% if project.event.lock_resources %} Resource {% elif project.score and not project.is_challenge %}
Challenge Project
{% elif challenge_when %}
Challenge Project
{% endif %} {% if project.category %}
{% if project.category.logo_icon %} {% endif %} {{ project.category.name }}
{% endif %}
{% if project.logo_icon %} {% endif %}

{{project.name}}

{% if project.summary %}

{{project.summary}}

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

{{project.hashtag}}

{% endif %}
{% if not project.event.lock_resources %}
{% for s in project_badge %} {% endfor %} {% if project.autotext and project.longtext %} Pitch {% endif %} {% if project_team %} Team {% endif %} {% if project.autotext %} Readme {% endif %} {% if project_dribs %} {{ project_dribs|length }} Log {% endif %}
{% endif %}
{% if project.is_webembed and project.webpage_url %}
{{ project.webembed|safe }}
⛶  Fullscreen ↓  Download {% endif %} {% if project.download_url %} 📂 Demo {% endif %} {% if project.longtext %}
{% if allow_edit %}
Edit
{% endif %}
{{ project.longtext|onebox|markdown|safe }}
{% endif %} {% if project_team %}
{% for user in project_team %} {% if project.user == user %} {% endif %} {{ misc.render_user_profile(user) }} {% if current_user.is_admin %} × {% endif %} {% endfor %} {% if missing_roles %}
{% for role in missing_roles %} {{ role.name }} {% endfor %}
{% endif %}
{% if not lock_editing and not project.event.has_finished and not project.event.lock_resources and not past_version %}
{% if project_starred %} Invite others {% else %} Join the team {% endif %}
{% endif %}
{% endif %} {% if project.autotext %}
{{project.autotext|markdown}}
{% if not project.event.lock_resources %}
This content is a preview from an external site.
{% endif %} {% if allow_edit and project.is_autoupdateable %} {% endif %}  
{% endif %}
{% if project.contact_url %} {% if project.contact_url.startswith('http') or project.contact_url.startswith('mailto:') %} 👋 Contact {% elif '@' in project.contact_url %} 👋 E-mail {% else %}
👋 {{ project.contact_url }}
{% endif %} {% endif %} {% if project.webpage_url and not project.is_webembed %} 🌐 Open {% endif %} {% if project.download_url %} 📂 Demo {% endif %} {% if project.source_url %} 💻 Source {% endif %}
{% if project_dribs and not project.event.lock_resources %}
{% for s in project_dribs %}
{% if s.icon %} {% endif %}
{% if 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.date|format_datetime }} {% if s.author %} ~ {{ s.author }} {% endif %} {% if s.ref_url %} {% endif %}
{% endif %}
{% endfor %}
 
{% endif %} {% if project.user %}
Contributed {{ project.created_at|until_date }} by {{ project.user.username }} for {{ project.event.name }}
{% endif %}
{{project.event.community_embed|safe}}
{% if config.DRIBDAT_SOCIAL_LINKS and share %} {{ social.share_links(share.text, share.url) }} {% endif %} {% if project.category %} {% endif %} {% if project.is_webembed and project.webpage_url %} {% endif %} {% if allow_edit %} {% endif %} {% endblock %}