forked from CGM_Public/pretix_original
Widget: Align wording with standalone calendar
This commit is contained in:
@@ -332,7 +332,7 @@ class WidgetAPIProductList(EventListMixin, View):
|
|||||||
availability['text'] = gettext('from %(start_date)s') % {'start_date': date_format(ev.presale_start, "SHORT_DATE_FORMAT")}
|
availability['text'] = gettext('from %(start_date)s') % {'start_date': date_format(ev.presale_start, "SHORT_DATE_FORMAT")}
|
||||||
else:
|
else:
|
||||||
availability['color'] = 'orange'
|
availability['color'] = 'orange'
|
||||||
availability['text'] = gettext('Sale soon')
|
availability['text'] = gettext('Soon')
|
||||||
return availability
|
return availability
|
||||||
|
|
||||||
def _serialize_events(self, ebd):
|
def _serialize_events(self, ebd):
|
||||||
|
|||||||
Reference in New Issue
Block a user