mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +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')
|
||||
date = models.DateField()
|
||||
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)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
{% if user.is_authenticated %}
|
||||
ga('create', 'UA-43285686-12', {'userId': '{% user.pk %}'});
|
||||
ga('create', 'UA-43285686-12', {'userId': '{{ user.pk }}'});
|
||||
{% else %}
|
||||
ga('create', 'UA-43285686-12');
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user