--- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -21,7 +21,7 @@ <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='publisher_csv',id=c.publisher.name,month=c.month or 'all')}">Download as CSV</a></center> </p> </li> </py:match> @@ -35,7 +35,7 @@ <form class="form-inline" action="${h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport',action='read',id=c.publisher.name)}" 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> </py:for>