From: Ross Jones
Date: Tue, 04 Dec 2012 18:40:47 +0000
Subject: Template fix for broken publisher links
X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=02690db50b0b2a2a79443ba65f78b573616830e2
---
Template fix for broken publisher links
---
--- a/ckanext/ga_report/templates/ga_report/notes.html
+++ b/ckanext/ga_report/templates/ga_report/notes.html
@@ -5,7 +5,6 @@
Notes
-
- "Views" is the number of times a page was loaded in users' browsers.
- "Visits" is the number of unique user visits to a page, counted once for each visitor for each of their browsing sessions.
--- a/ckanext/ga_report/templates/ga_report/publisher/index.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/index.html
@@ -10,7 +10,6 @@
-
Download
-
Download as CSV
@@ -38,14 +37,13 @@
Publisher |
-
Dataset Views |
- ${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 '')}
+ |
+ ${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} |
--- a/ckanext/ga_report/templates/ga_report/publisher/read.html
+++ b/ckanext/ga_report/templates/ga_report/publisher/read.html
@@ -10,7 +10,6 @@
Download
-
Download as CSV
--- a/ckanext/ga_report/templates/ga_report/site/index.html
+++ b/ckanext/ga_report/templates/ga_report/site/index.html
@@ -10,7 +10,6 @@
Download
-
Download as CSV