Timezones were missing in Details page, "Change Schedule" dialog. Fixed.

This commit is contained in:
Pēteris Caune 2018-10-02 14:37:58 +03:00
parent 9e9c504e2d
commit cf37439877
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
3 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
### Improvements
- Content updates in the "Welcome" page.
### Bug Fixes
- Timezones were missing in the "Change Schedule" dialog, fixed
## 1.1.0 - 2018-08-20
### Improvements

View File

@ -23,6 +23,8 @@ class DetailsTestCase(BaseTestCase):
self.client.login(username="alice@example.org", password="password")
r = self.client.get(self.url)
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):
self.client.login(username="charlie@example.org", password="password")

View File

@ -371,7 +371,8 @@ def details(request, code):
ctx = {
"page": "details",
"check": check,
"channels": channels
"channels": channels,
"timezones": all_timezones
}
return render(request, "front/details.html", ctx)