diff options
author | Andy Doan <andy.doan@linaro.org> | 2015-11-10 15:25:02 -0600 |
---|---|---|
committer | Andy Doan <andy.doan+gerrit@linaro.org> | 2015-11-24 15:42:41 +0000 |
commit | 3c1bf4b96091a29779028eb7f9c398061864a6f6 (patch) | |
tree | b33125b6e79feee74c459ce4b442cd08e5bb7a17 /templates | |
parent | ff26af5da18273d7b553c104ac9dd79747091109 (diff) |
reports: Add per region region report
This can be done by just making the original country report more
generalized. Creates equivalent for:
<https://weblogs.linaro.org/restricted/releases.linaro.org/reports/report.html?cycle=2015.08&report=region_isp>
Change-Id: I4c7ddad235f53550261f53cafe050e3f72ceb0bb
Diffstat (limited to 'templates')
-rw-r--r-- | templates/report_cycles.html | 1 | ||||
-rw-r--r-- | templates/report_geo.html (renamed from templates/reports_country.html) | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/report_cycles.html b/templates/report_cycles.html index b24d881..f4b707e 100644 --- a/templates/report_cycles.html +++ b/templates/report_cycles.html @@ -9,6 +9,7 @@ <td><a href="./{{month}}/downloads/?by=component">By Component</a></td> <td><a href="./{{month}}/downloads/?by=build">By Build</a></td> <td><a href="./{{month}}/country/">By Country</a></td> + <td><a href="./{{month}}/region/">By Region/ISP</a></td> </tr> {% endfor %} </table> diff --git a/templates/reports_country.html b/templates/report_geo.html index 203c3ec..65bf638 100644 --- a/templates/reports_country.html +++ b/templates/report_geo.html @@ -1,14 +1,14 @@ {% extends base_page %} {% block content %} -<h2>{{year_month}} Downloads by Country</h2> +<h2>{{year_month}} Downloads by {{label}}</h2> <table> <tr> - <th>Country</th><th>Components</th><th>Builds</th><th>Total</th> + <th>{{label}}</th><th>Components</th><th>Builds</th><th>Total</th> </tr> {% for download in downloads %} <tr> - <td>{{download.country}}</td> + <td>{{download.geo}}</td> <td>{{download.components}}</td> <td>{{download.builds}}</td> <td>{{download.total}}</td> |