Compare commits
2 commits
411d258cd7
...
9ea0839ba8
Author | SHA1 | Date | |
---|---|---|---|
9ea0839ba8 | |||
a8bd70fab1 |
2 changed files with 4 additions and 2 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -14,7 +14,7 @@ depends=(
|
||||||
)
|
)
|
||||||
makedepends=("git")
|
makedepends=("git")
|
||||||
optdepends=("postgresql: database")
|
optdepends=("postgresql: database")
|
||||||
backup=("etc/${pkgname%-git}.env")
|
backup=("etc/${pkgname%-git}/config.toml")
|
||||||
source=(
|
source=(
|
||||||
"${pkgname}::git+https://git.edgarpierre.fr/edpibu/nummi"
|
"${pkgname}::git+https://git.edgarpierre.fr/edpibu/nummi"
|
||||||
"${pkgname%-git}.service"
|
"${pkgname%-git}.service"
|
||||||
|
|
|
@ -146,7 +146,9 @@ class Snapshot(AccountModel):
|
||||||
)
|
)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return _("%(date)s statement") % {"date": self.date}
|
return "{} – {}".format(
|
||||||
|
_("%(date)s statement") % {"date": self.date}, self.account
|
||||||
|
)
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if Snapshot.objects.filter(id=self.id).exists():
|
if Snapshot.objects.filter(id=self.id).exists():
|
||||||
|
|
Loading…
Reference in a new issue