forked from CGM_Public/pretix_original
Improve calendar-navigation on organizer and events page (Z#177488) (#2373)
* hide icons for calendar-types and improve layout-breakpoints in calendar top-nav * change month-selector to one dropdown "date"and redirect old URLs to new date-based URLs * change week calendar to one dropdown "date“ and redirect old URLs to new date-based URLs
This commit is contained in:
committed by
GitHub
parent
d16f6167f6
commit
aed64d16f6
@@ -154,7 +154,7 @@ def test_calendar(env, client):
|
||||
r = client.get('/mrmcd/?style=calendar')
|
||||
assert 'MRMCD2017' in r.rendered_content
|
||||
assert 'September %d' % (now().year + 1) in r.rendered_content
|
||||
r = client.get('/mrmcd/?style=calendar&month=10&year=2017')
|
||||
r = client.get('/mrmcd/?style=calendar&date=2017-10')
|
||||
assert 'MRMCD2017' not in r.rendered_content
|
||||
assert 'October 2017' in r.rendered_content
|
||||
|
||||
@@ -173,7 +173,7 @@ def test_week_calendar(env, client):
|
||||
e.save()
|
||||
r = client.get('/mrmcd/?style=week')
|
||||
assert 'MRMCD2017' in r.rendered_content
|
||||
r = client.get('/mrmcd/?style=week&week=2&year=2017')
|
||||
r = client.get('/mrmcd/?style=week&date=2017-W02')
|
||||
assert 'MRMCD2017' not in r.rendered_content
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user