--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -9,9 +9,9 @@ - <py:match path="primarysidebar"> + <py:def function="sidebar"> ${ga_sidebar(download_link=h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport',action='publisher_csv',month=c.month or 'all'))} - </py:match> + </py:def> <py:def function="optional_head">