{% extends "layout.html" %} {% set show_company_breakdown = (not company) and (not user_id) %} {% set show_engineer_breakdown = ((company) or (module)) and (not user_id) %} {% set show_module_breakdown = (not module) %} {% set show_user_activity = (user_id) %} {% set show_module_activity = (module) and (not user_id) %} {% set show_activity = (show_user_activity) or (show_module_activity) %} {% set show_user_contribution = (user_id) %} {% set show_module_contribution = (module) and (not user_id) %} {% set show_contribution = (show_user_contribution) or (show_module_contribution) %} {% set show_user_profile = (user_id) %} {% block scripts %} {# Templates #} {% endblock %} {% block left_frame %} {% if show_company_breakdown %}

Contribution by companies

# Company {{ metric_label }}
{% endif %} {% if show_engineer_breakdown %}

Contribution by engineers

{% if metric == 'marks' %} {% endif %}
# Engineer {{ metric_label }}-2|-1|+1|+2 (+/- ratio)
{% endif %} {% if show_user_profile %}
{% endif %} {% if show_user_activity %}

Activity log

More...
{% endif %} {% if show_module_contribution %}
{% endif %} {% endblock %} {% block right_frame %} {% if show_module_breakdown %}

Contribution by modules

# Module {{ metric_label }}
{% endif %} {% if show_user_contribution %}
{% endif %} {% if show_module_activity %}

Activity log

More...
{% endif %} {% endblock %}