--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -4,6 +4,14 @@ py:strip=""> <py:def function="page_title">Site analytics</py:def> + + <py:match path="primarysidebar"> + <li class="widget-container boxed widget_text"> + <h4>Statistics</h4> + <p>It is possible to <a href="${h.url_for(controller='ckanext.ga_report.controller:GaReport',action='csv',month=c.month)}">export the analytics data</a> as a CSV file, which contains all of the information for ${c.month_desc}</p> + + </li> + </py:match> <div py:match="content"> <h1>Site statistics</h1> @@ -18,8 +26,6 @@ <input class="btn button" type='submit' value="Update"/> </div> </form> - - <p><a href="${h.url_for(controller='ckanext.ga_report.controller:GaReport',action='csv',month=c.month)}">Export data</a> as CSV</p> <div class="tabbable"> <ul class="nav nav-tabs"> @@ -44,6 +50,8 @@ </tr> </py:for> </table> + + <p>* Values are rounded up to 2 decimal places.</p> </div> <div class="tab-pane" id="browsers"> <table class="table table-condensed table-bordered table-striped">