{% extends "layout.html" %}
{% set show_company_breakdown = (not company) and (not user_id) %}
{% set show_engineer_breakdown = (not user_id) %}
{% set show_bp_breakdown = (metric in ['bpd', 'bpc']) %}
{% 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) or (company) %}
{% 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) %}
{% set show_top_mentors_options = (metric == 'tm_marks') %}
{% set show_review_ratio = (metric in ['marks', 'tm_marks']) %}
{% block scripts %}
{# Templates #}
{% endblock %}
{% block report_options %}
{% if show_top_mentors_options %}
{% endif %}
{% endblock %}
{% block left_frame %}
{% if show_company_breakdown %}
Contribution by companies
# |
Company |
{{ metric_label }} |
{% endif %}
{% if show_engineer_breakdown %}
Contribution by engineers
# |
Engineer |
{% if show_review_ratio %}
-2|-1|+1|+2|A (+/- ratio) |
{% endif %}
{{ metric_label }} |
{% endif %}
{% if show_user_profile %}
{% endif %}
{% if show_user_activity %}
{% endif %}
{% if show_module_contribution %}
{% endif %}
{% endblock %}
{% block right_frame %}
{% if show_module_breakdown %}
Contribution by modules
# |
Module |
{{ metric_label }} |
{% endif %}
{% if show_bp_breakdown %}
Blueprint popularity
This metric shows how many times a blueprint was mentioned in emails and commit messages.
# |
Blueprint |
Status |
Date |
Mentions |
{% endif %}
{% if show_user_contribution %}
{% endif %}
{% if show_module_activity %}
{% endif %}
{% endblock %}