Rearranged columns for review report

Change-Id: I2dd4e3c44a8aeefd00d667b5ee1f78f32ab74459
This commit is contained in:
Ilya Shakhat 2013-10-14 19:59:38 +04:00
parent b21d21de9c
commit aabf7c567f

View File

@ -25,7 +25,7 @@
{% if show_engineer_breakdown %}
{% if show_review_ratio %}
renderTableAndChart("/api/1.0/stats/engineers", "engineer_container", "engineer_table", "engineer_chart", "user_id",
["index", "link", "metric", "mark_ratio"]);
["index", "link", "mark_ratio", "metric"]);
{% else %}
renderTableAndChart("/api/1.0/stats/engineers", "engineer_container", "engineer_table", "engineer_chart", "user_id");
{% endif %}
@ -260,10 +260,10 @@
<tr>
<th>#</th>
<th>Engineer</th>
<th>{{ metric_label }}</th>
{% if metric in ['marks', 'tm_marks'] %}
{% if show_review_ratio %}
<th>-2|-1|+1|+2 (+/- ratio)</th>
{% endif %}
<th>{{ metric_label }}</th>
</tr>
</thead>
<tbody>