diff options
author | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-09-01 14:54:20 -0300 |
---|---|---|
committer | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-09-01 14:54:20 -0300 |
commit | 7e764b1cb2428514595674a7dbb294dd9e2b67f4 (patch) | |
tree | dc7b4c7bcd4136871b271b245eca976ae20fd5a4 /templates | |
parent | 6f9bdb77f0c49277c4bb86abaade90ecc43cabfe (diff) |
Some small fixes suggested by Paul, plus docs for all the Linaro-specific
features and a new page showing the number of patches submitted for all teams
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchmetrics/teams.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/patchmetrics/teams.html b/templates/patchmetrics/teams.html new file mode 100644 index 0000000..1080406 --- /dev/null +++ b/templates/patchmetrics/teams.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block title %}Team metrics{% endblock %} +{% block heading %}Team metrics{% endblock %} + +{% block body %} + +<h2>Patches submitted (and accepted) per team</h2> + +<table class="patchlist"> + <tr> + <th>Team</th> + {% for month in months %} + <th style="text-align: right">{{ month }}</th> + {% endfor %} + </tr> + + {% for team_data in teams_data %} + <tr class="{% cycle 'odd' 'even' %}"> + <td> + <a href="{% url patchmetrics.views.team team_id=team_data.0.name %}" + >{{team_data.0.display_name}}</a> + </td> + {% for count in team_data.1 %} + <td style="text-align: right">{{ count.0 }} + (<span style="color: green">{{ count.1 }}</span>)</td> + {% endfor %} + </tr> + {% endfor %} +</table> + +{% endblock %} |