70 lines
2.2 KiB
HTML
70 lines
2.2 KiB
HTML
{% extends "layout.html" %}
|
|
|
|
{% block title %}
|
|
{{ module }}
|
|
{% endblock %}
|
|
|
|
{% block left_frame %}
|
|
|
|
<h2>Contribution by companies</h2>
|
|
|
|
<script type="text/javascript">
|
|
loadTable("left_list", "/data/companies", { module: "{{ module }}" });
|
|
loadChart("left_chart", "/data/companies", { module: "{{ module }}", limit: 10 });
|
|
loadTimeline({module: '{{ module }}'})
|
|
</script>
|
|
|
|
<div id="left_chart" style="width: 100%; height: 350px;"></div>
|
|
|
|
<table id="left_list" class="display">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Company</th>
|
|
<th>{{ metric_label }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="spacer"></div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block right_frame %}
|
|
|
|
<h2>Recent commits</h2>
|
|
|
|
{% for rec in commits %}
|
|
<div style="padding-bottom: 1em;">
|
|
<div style='float: left; '>
|
|
<img src="{{ rec.email|gravatar(size=32) }}">
|
|
</div>
|
|
<div style="margin-left: 4em;">
|
|
<div>
|
|
{{ link('/engineers/' + rec.launchpad_id, rec.name) }}
|
|
{# <a href="/engineers/{{ rec.launchpad_id }}?metric={{ metric }}&period={{ period }}&project_type={{ project_type }}">{{ rec.name }}</a>#}
|
|
{% if rec.company %}
|
|
(
|
|
{{ link('/companies/' + rec.company, rec.company) }}
|
|
{# <a href="/companies/{{ rec.company }}?metric={{ metric }}&period={{ period }}&project_type={{ project_type }}">{{ rec.company }}</a>#}
|
|
)
|
|
{% endif %}
|
|
<em>{{ rec.date|datetimeformat }}</em>
|
|
</div>
|
|
|
|
{% if rec.ref %}
|
|
<div>{{ rec.ref|safe }}</div>
|
|
{% endif %}
|
|
<div>{{ rec.text }}</div>
|
|
{% if rec.change_id %}
|
|
<div>Change-Id: <a
|
|
href="https://review.openstack.org/#q,{{ rec.change_id }},n,z">{{ rec.change_id }}</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|