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

    Download

    +

    + Download as CSV
    +

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

    Analytics for ${c.publisher.title}

    -

    Most viewed datasets

    -

    Note: this data does not include API calls

    +

    Site Usage

    -
    + ${usage_nav('Publishers')} + + +
    - - + + ${month_selector(c.month, c.months, c.day)} + +
    -

    ${c.publisher.title} dataset list was viewed ${c.publisher_page_views} times in ${c.month_desc}

    - + ${rickshaw_graph('[{name:"test series",data:[{x:1,y:200},{x:3,y:300},{x:5,y:100}]}]','dataset-downloads')} - - - + + - + - -
    DatasetViewsVisitsPublisherDataset Views
    ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.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}
    @@ -44,8 +62,16 @@
    + + + + + - -