mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 14:32:16 +00:00
Fixed syntax error in analytics.html
This commit is contained in:
@@ -386,4 +386,4 @@ class Payment(models.Model):
|
|||||||
invoice = models.ForeignKey('Invoice')
|
invoice = models.ForeignKey('Invoice')
|
||||||
date = models.DateField()
|
date = models.DateField()
|
||||||
amount = models.DecimalField(max_digits=10, decimal_places=2, help_text='Please use ex. VAT')
|
amount = models.DecimalField(max_digits=10, decimal_places=2, help_text='Please use ex. VAT')
|
||||||
method = models.CharField(max_length=2, choices=METHODS, null=True, blank=True)
|
method = models.CharField(max_length=2, choices=METHODS, null=True, blank=True)
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
ga('create', 'UA-43285686-12', {'userId': '{% user.pk %}'});
|
ga('create', 'UA-43285686-12', {'userId': '{{ user.pk }}'});
|
||||||
{% else %}
|
{% else %}
|
||||||
ga('create', 'UA-43285686-12');
|
ga('create', 'UA-43285686-12');
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user