{% extends "layout.html" %} {% import "macros/_event.html" as misc %} {% block page_title %}{{ user.username }}{% endblock %} {% block body_class %}userprofile{% endblock %} {% block page_meta %} {% endblock %} {% block content %} {% if current_user and current_user.is_authenticated %}
{% if score_tip %}
To improve your score, please complete your profile.
{% endif %}
{% if current_user.id == user.id %} {% elif current_user.is_admin %} {% endif %}
{% if may_certify %}

Download Certificate
{% endif %} {% endif %}
{% if user.carddata %} {% endif %}
{% if user.fullname %}

{{ user.fullname }}
{{ user.username }}

{% else %}

{{ user.username }}

{% endif %}
{% if score %}
{{ score }}
{% endif %}
{% if user.webpage_url %} {% endif %}
{% if user.my_story %}

📜

{{ user.my_story|markdown }}
{% endif %} {% if not projects %} {% if current_user and current_user.id == user.id %}
No projects here yet. Time to Join or Start something awesome!
{% if events_next %}
{% for event in events_next %} {{ misc.render_home_event(event) }} {% endfor %}
{% endif %} {% endif %} {% else %}

Teams

{% for project in projects %} {{ misc.render_project_hexagon(project) }} {% endfor %}
{% endif %} {% if user.my_goals %}

🎯

{{ user.my_goals|markdown }}
{% endif %} {% if submissions %}

Challenges

{% for project in submissions %} {{ misc.render_project_hexagon(project) }} {% endfor %}
{% endif %}
My data
{% if not posts %} {% if current_user and current_user.id == user.id %}
Once you join a project, write some Posts to show a log of your work.
{% endif %} {% else %}

Dribs

{% for s in posts %}
{% if s.content %}
{{s.content|markdown|safe}}
{% endif %}
{{s.timesince}}
{% endfor %}
{% endif %} {% endblock %}