--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -3,55 +3,78 @@ xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> - Publisher Analytics for ${g.site_title} + + + Usage by Publisher + + + + +
  • +

    Download

    +

    + Download as CSV
    +

    +
  • +
  • +

    Graph Legend

    +
    +
    +
  • + +
    + + + + + + + + + + +
    -

    Publisher Analytics

    -

    The top 20 publishers

    -
    +

    Site Usage ${usage_nav('Publishers')}

    + +
    + + ${rickshaw_graph(c.top_publishers_graph,'publishers')} +
    - - + + ${month_selector(c.month, c.months, c.day)}
    - - - - - - +
    PublisherDataset ViewsVisits
    + + + + - - - - - + + + +
    PublisherDataset Views
    ${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport', action='read', id=publisher.name))} - ${views}${visits}
    + ${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 ''))} + ${views}
    - - -
    - - +
    + - + - -