{% extends "reports/base_report.html" %} {% set gravatar_size = 64 %} {% block scripts %} {% endblock %} {% block content %}

Contribution Record

{% if record.coauthor %}
{% for value in record.coauthor %} {% if loop.index>0 %}, {% endif %} {{ value.author_link | safe }} ({{ value.company_link | safe }}) {% endfor %}
{% else %}
{{ record.author_link | safe }} ({{ record.company_link | safe }})
{% endif %}
{{ record.date_str }} in {{ record.module_link | safe }} {% if record.record_type in ["mark", "review", "patch", "ci", "tr"] %} {% if record.branch != "master" %}({{ record.branch }}){% endif %} {% endif %} {% if record.record_type == "commit" %} {% if record.branches.find("master") < 0 %}({{ record.branches }}) {% endif %} {% endif %}
{% if record.record_type == "commit" %}
Commit “{{ record.subject }}”
{{ record.tweet | safe }}
{% if record.commit_date_str != "" and record.commit_date_str != date_str %}
Commit date: {{ record.commit_date_str }}
{% endif %} {% if record.correction_comment != "" %}
Commit corrected: {{ record.correction_comment }}
{% endif %}
+{{ record.lines_added }} - {{ record.lines_deleted }}
{% elif record.record_type == "mark" %}
Review “{{ record.parent_subject }}”
Change request by: {{ record.parent_author_link | safe }} ({{ record.parent_company_link | safe }})
{% if record.patch_author_link != record.parent_author_link %}
Patch by: {{ record.patch_author_link | safe }} ({{ record.patch_company_link | safe }})
{% endif %}
Change Id: {{ record.review_id }}
{% if (record.type == "Workflow" and record.value == 1) %} Approve {% elif (record.type == "Self-Workflow" and record.value == 1) %} Self-Approve {% elif (record.type == "Workflow" and record.value == -1) %} Work in progress {% elif (record.type == "Abandon" or record.type == "Self-Abandon") %} {{ record.type }} {% else %} {{ record.type }}: {% if record.value > 0 %}+{% endif %}{{ record.value }} {% endif %}
{% elif record.record_type == "review" %}
Change request “{{ record.subject }}”
Current Status: {{ record.status }}
Change Id: {{ record.id }}
{% elif record.record_type == "patch" %}
Patch #{{ record.number }} “{{ record.parent_subject }}”
Change Id: {{ record.review_id }}
{% elif record.record_type == "email" %} {% if blueprint_id_count %}
Mentions blueprints: {% for value in blueprint_links %} {{ value | safe }} {% endfor %}
{% endif %} {% if body %}
Email:
{{ record.body }}
{% endif %} {% elif ((record.record_type == "bpd") or (record.record_type == "bpc")) %}
Blueprint “{{ record.title }}” ({{ blueprint_link | safe }})
{{ record.summary }}
Priority: {{ record.priority }}
Status: {{ record.lifecycle_status }} ({{ record.definition_status }}, {{ record.implementation_status }})
{% if mention_count %}
Mention count: {{ record.mention_count }}, last mention on {{ record.mention_date_str }}
{% endif %} {% elif ((record.record_type == "bugf") or (record.record_type == "bugr")) %}
Bug “{{ record.title }}” ({{ record.number }})
Status: {{ record.status }}
Importance: {{ record.importance }}
{% elif record.record_type == "ci" %}
CI vote in merged change request {{ record.review_number }}
{% if value == true %} Success{% else %} Failure{% endif %}
{{ record.tweet }}
Change Id: {{ record.review_id }}
{% elif record_type == "member" %}
Registered in OpenStack Foundation
{% elif record_type == "tr" %}
Translated {{ record.loc }} words into {{ record.language }}
{% endif %}
{% endblock %}