--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -3,44 +3,57 @@ 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
    +

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

    Publisher Analytics

    -

    The top 20 publishers of ${c.month_desc}

    -
    +

    Site Usage

    + + ${usage_nav('Publishers')} + + +
    - - + ${month_selector(c.month, c.months, c.day)} + +
    + ${rickshaw_graph('[{name:"test series",data:[{x:1,y:200},{x:3,y:300},{x:5,y:100}]}]','dataset-downloads',debug=True)} - - -
    Publisher Dataset ViewsVisits
    ${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}
    @@ -62,5 +75,3 @@ - -