diff --git a/aircox/models.py b/aircox/models.py index 7e1ed70..31c49b4 100755 --- a/aircox/models.py +++ b/aircox/models.py @@ -578,10 +578,6 @@ class Schedule(models.Model): } return before == now - @property - def end(self): - return self.time + utils.to_timedelta(self.duration) - def match(self, date = None, check_time = True): """ Return True if the given datetime matches the schedule diff --git a/aircox_cms/templates/aircox_cms/program_page.html b/aircox_cms/templates/aircox_cms/program_page.html index bfa7d46..cba6c46 100755 --- a/aircox_cms/templates/aircox_cms/program_page.html +++ b/aircox_cms/templates/aircox_cms/program_page.html @@ -12,18 +12,25 @@

{% trans "Schedule" %}

{% else %}