Compare commits
2 Commits
helm-chart
...
7e4d2fa29b
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e4d2fa29b | |||
| d14d9eba4c |
@@ -25,7 +25,7 @@ spec:
|
|||||||
mountPath: /data
|
mountPath: /data
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: git.baumann.gr/adebaumann/vui:0.939
|
image: git.baumann.gr/adebaumann/vui:0.940
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ class Vorgabe(models.Model):
|
|||||||
if not self.gueltigkeit_bis:
|
if not self.gueltigkeit_bis:
|
||||||
return "active"
|
return "active"
|
||||||
|
|
||||||
if self.gueltigkeit_bis > check_date:
|
if self.gueltigkeit_bis >= check_date:
|
||||||
return "active"
|
return "active"
|
||||||
|
|
||||||
return "expired" if not verbose else "Ist seit dem "+self.gueltigkeit_bis.strftime('%d.%m.%Y')+" nicht mehr in Kraft."
|
return "expired" if not verbose else "Ist seit dem "+self.gueltigkeit_bis.strftime('%d.%m.%Y')+" nicht mehr in Kraft."
|
||||||
|
|||||||
Reference in New Issue
Block a user