From 9847186b06a0f8a4a2026e726ab53f9b5ce0e412 Mon Sep 17 00:00:00 2001 From: Skia Date: Thu, 8 Dec 2016 15:16:42 +0100 Subject: [PATCH] Small fixes --- eboutic/models.py | 2 +- sas/templates/sas/album.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eboutic/models.py b/eboutic/models.py index ed14125c..4390cd84 100644 --- a/eboutic/models.py +++ b/eboutic/models.py @@ -38,7 +38,7 @@ class Basket(models.Model): return total def __str__(self): - return "Basket (%d items)" % self.items.all().count() + return "%s's basket (%d items)" % (self.user, self.items.all().count()) class Invoice(models.Model): """ diff --git a/sas/templates/sas/album.jinja b/sas/templates/sas/album.jinja index 660a8c53..74fbf95d 100644 --- a/sas/templates/sas/album.jinja +++ b/sas/templates/sas/album.jinja @@ -152,7 +152,7 @@ $("form").submit(function (event) { errorlist.appendChild(errors.shift()); progress.value = ++completeCount / imagesCount; if(progress.value === 1 && errorlist.children.length === 0) - document.location.reload() + document.location.reload(true) } });