short notation for workouts
This commit is contained in:
@@ -103,16 +103,16 @@ def ps_dict_get_durationdistance(d):
|
||||
|
||||
|
||||
|
||||
def ps_dict_get_description(d):
|
||||
sdict,totalmeters,totalseconds = ps_dict_order(d)
|
||||
def ps_dict_get_description(d,short=False):
|
||||
sdict,totalmeters,totalseconds = ps_dict_order(d,short=short)
|
||||
s = ''
|
||||
for item in sdict:
|
||||
s += item['string']+'\n'
|
||||
|
||||
return s
|
||||
|
||||
def ps_dict_get_description_html(d):
|
||||
sdict,totalmeters,totalseconds = ps_dict_order(d)
|
||||
def ps_dict_get_description_html(d,short=False):
|
||||
sdict,totalmeters,totalseconds = ps_dict_order(d,short=short)
|
||||
|
||||
s = '<ul>'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user