--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -37,14 +37,13 @@ <table class="table table-condensed table-bordered table-striped"> <tr> <th>Publisher</th> -<!-- <th>Dataset Visits</th>--> <th>Dataset Views</th> </tr> <py:for each="publisher, views, visits in c.top_publishers"> <tr> - <td>${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport', action='read_publisher', id=publisher.name) + ("?month=" + c.month) if c.month else '')} + <td> + ${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport', action='read_publisher', id=publisher.name) + (("?month=" + c.month) if c.month else ''))} </td> -<!-- <td>${visits}</td> --> <td>${views}</td> </tr> </py:for>