Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give SlotKind a property to indicate whether it is a presentation #74

Open
codersquid opened this issue May 27, 2015 · 1 comment
Open

Comments

@codersquid
Copy link
Contributor

SlotKinds represent types of things on a schedule, some of which have presentations attached as content, some of which do not. In the pinax-symposion-project the schedule grid only renders a presentation if the slot.kind.label is 'talk' or 'tutorial', which leads to issues like pydata/conf_site#68

Back when I was working on SciPy 2014, we forked symposion and changed SlotKind to add presentation = models.BooleanField(default=True, help_text="Whether or not this slot is a presentation")

so that we could change the template conditional to {% if slot.kind.presentation %}
from {% if slot.kind.label == "talk" or slot.kind.label == "tutorial" %} (see _grid.html L16)

@miurahr
Copy link
Contributor

miurahr commented Jul 18, 2015

👍 lunch and coffee breaks are important schedule slot! It's modification should be merged.

martey added a commit to pydata/conf_site that referenced this issue Oct 13, 2015
Expand "kludge" that previously supported up to 4 schedule tracks so
that 5 tracks are supported. Additional tracks need to be called "Track
5" or "Tutorial Track 5".

This should be able to be removed when
pinax/symposion#74 is fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants