Skip to content

Commit

Permalink
[#630] Add piwik tracking code to parter sites widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
zzgvh committed Aug 28, 2014
1 parent 1ab17c9 commit 1c50f38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions akvo/templates/partner_sites/widgets/base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n rsr_tags humanize piwik_tags %}
<!doctype html>
<html>
<head>
Expand All @@ -6,6 +7,8 @@
{% block style %}{% endblock style %}
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'>
<base target="_top" />
{# Piwik #}
{% tracking_code %}
</head>
<body>
{% block body %}{% endblock body %}
Expand Down
5 changes: 4 additions & 1 deletion akvo/templates/partner_sites/widgets/projects_map.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cache maps humanize i18n rsr_tags %}
{% load cache maps humanize i18n rsr_tags piwik_tags %}
{% load static %}
{% get_static_prefix as STATIC_URL %}

Expand Down Expand Up @@ -28,6 +28,9 @@
#footer a img { border:none;}
</style>
<base target="_top" />
{# Piwik #}
{% tracking_code %}

</head>
<body>
{% projects_map projects width height|add:-30 state %}
Expand Down

0 comments on commit 1c50f38

Please sign in to comment.