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

    Publishers

    -

    The table shows the top 20 publishers as recorded by page views of datasets owned by that publisher, and the number of visits to each publisher's home page.

    +

    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 ViewsVisitsDataset Views
    ${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaPublisherReport', action='read', id=publisher.name))} + + ${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}${visits}${views}
    @@ -46,19 +66,15 @@
    - - - + - -