mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 14:32:16 +00:00
Revamped calendar basically there
To fix: - Does not yet display events that span weeks correctly! - Breaks (overflows) on mobile
This commit is contained in:
@@ -616,6 +616,9 @@ class Subhire(BaseEvent):
|
||||
def get_edit_url(self):
|
||||
return reverse('subhire_update', kwargs={'pk': self.pk})
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('subhire_detail', kwargs={'pk': self.pk})
|
||||
|
||||
@property
|
||||
def earliest_time(self):
|
||||
return find_earliest_event_time(self, [])
|
||||
|
||||
Reference in New Issue
Block a user