forked from GithubBackups/healthchecks
Timezones were missing in Details page, "Change Schedule" dialog. Fixed.
This commit is contained in:
parent
9e9c504e2d
commit
cf37439877
@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Improvements
|
### Improvements
|
||||||
- Content updates in the "Welcome" page.
|
- Content updates in the "Welcome" page.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
- Timezones were missing in the "Change Schedule" dialog, fixed
|
||||||
|
|
||||||
|
|
||||||
## 1.1.0 - 2018-08-20
|
## 1.1.0 - 2018-08-20
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
@ -23,6 +23,8 @@ class DetailsTestCase(BaseTestCase):
|
|||||||
self.client.login(username="alice@example.org", password="password")
|
self.client.login(username="alice@example.org", password="password")
|
||||||
r = self.client.get(self.url)
|
r = self.client.get(self.url)
|
||||||
self.assertContains(r, "How To Ping", status_code=200)
|
self.assertContains(r, "How To Ping", status_code=200)
|
||||||
|
# The page should contain timezone strings
|
||||||
|
self.assertContains(r, "Europe/Riga")
|
||||||
|
|
||||||
def test_it_checks_ownership(self):
|
def test_it_checks_ownership(self):
|
||||||
self.client.login(username="charlie@example.org", password="password")
|
self.client.login(username="charlie@example.org", password="password")
|
||||||
|
@ -371,7 +371,8 @@ def details(request, code):
|
|||||||
ctx = {
|
ctx = {
|
||||||
"page": "details",
|
"page": "details",
|
||||||
"check": check,
|
"check": check,
|
||||||
"channels": channels
|
"channels": channels,
|
||||||
|
"timezones": all_timezones
|
||||||
}
|
}
|
||||||
|
|
||||||
return render(request, "front/details.html", ctx)
|
return render(request, "front/details.html", ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user