Change frontend
This commit is contained in:
@@ -83,6 +83,9 @@ class cls_caldav():
|
||||
if "$" in item.key:
|
||||
item.team_transfert = True
|
||||
item.key = item.key.replace("$","")
|
||||
if "Manif" in item.key:
|
||||
item.team_manif = True
|
||||
item.key = item.key.replace("Manif", "")
|
||||
item.name = arr[1]
|
||||
if "&" in item.name:
|
||||
arr = item.name.split("&")
|
||||
@@ -303,6 +306,7 @@ class _caldav_item():
|
||||
team_1_chef = False
|
||||
team_2_chef = False
|
||||
team_transfert = False
|
||||
team_manif = False
|
||||
|
||||
def format_str_date(self):
|
||||
self.str_start_date = datetime.strptime(self.dtstart,"%d.%m.%Y %H:%M").strftime("%d.%m")
|
||||
|
Reference in New Issue
Block a user