--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -20,13 +20,14 @@ <li class="widget-container boxed widget_text"> <h4>Download</h4> <p><center> - <a class="btn button" href="${h.url_for(controller='ckanext.ga_report.controller:GaReport',action='csv',month=c.month or 'all')}">Download as CSV</a></center> + <a class="btn button" href="${h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport',action='csv',month=c.month or 'all')}">Download as CSV</a></center> </p> </li> </py:match> <div py:match="content"> + <h1>Site Usage</h1> ${usage_nav('Publishers', None)} @@ -35,7 +36,7 @@ <form class="form-inline" action="${h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport',action='index')}" method="get"> <div class="controls"> <select name="month"> - <option value='' py:attrs="{'selected': 'selected' if not c.month else None}">All time</option> + <option value='' py:attrs="{'selected': 'selected' if not c.month else None}">All months</option> <py:for each="val,desc in c.months"> <option value='${val}' py:attrs="{'selected': 'selected' if c.month == val else None}">${desc}</option>