{% extends "layout.html" %} {% import "macros/_event.html" as misc %} {% import "macros/_social.html" as social %} {% block page_title %}{{current_event.name}} / {% if current_event.has_finished %} Results {% elif current_event.has_started %} Project Board {% else %} Challenges {% endif %}{% endblock %} {% block page_meta %} {% endblock %} {% block body_class %}event-home event-{{ current_event.id }} event-{% if current_event.has_finished %}finished{% elif current_event.has_started %}started{% else %}prep{% endif %}{% endblock %} {% block content %} {% cache 300, 'event-%d' % current_event.id %} {% if current_event.has_categories %} {% endif %}
{% for project in summaries %} {{ misc.render_project_hexagon(project) }} {% endfor %} {% if project_count % 2 != 0 %} {{ misc.render_empty_hexagon() }} {% endif %}
{% endcache %}
{% if current_event.has_started and not current_event.has_finished %} {% if not current_user or not current_user.active %}

 The event has started! Explore the challenges above, then log in to get instructed and join projects.

{% endif %} {% endif %} {% for category in current_event.categories_for_event() %} {% endfor %}
{% if current_event.webpage_url %} {% if not current_event.has_finished %} How to join {% else %} About {% endif %} {% endif %} {% if current_event.can_start_project %} {% if current_event.lock_resources %} Share a resource {% elif current_event.has_started %} Start a project {% elif not current_event.has_finished %} Post a challenge {% endif %} {% endif %} {% if current_event.community_url %} Connect {% endif %} {% if may_certify %} Certificate available {% endif %}
By Stage By Category {% if active == 'challenges' %} Projects {% else %} Challenges {% endif %} Report Contributors {% if current_user and current_user.active and current_user.is_admin %}
Event Admin Project
{% endif %} {% if current_event.countdown and not current_event.lock_resources %} {{ current_event.countdown|until_date }} {% endif %}
{% if current_event.description %}
{{current_event.description|markdown}}
{% endif %} {% if current_event.instruction and current_user and current_user.active %}
{{current_event.instruction|markdown}}
{% endif %} {% if current_event.countdown and not 'off' in config.DRIBDAT_CLOCK and not current_event.lock_resources %}
{% endif %} {% if current_event.community_embed %}
{{current_event.community_embed|safe}}
{% endif %} {% endblock %}