include keynote in presentation slots, release, bump dev version
This commit is contained in:
parent
9e2d42f972
commit
c582b2b3e2
2 changed files with 3 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
__version__ = "1.0b1.dev52"
|
__version__ = "1.0b1.dev53"
|
||||||
|
|
|
@ -11,7 +11,8 @@ class SlotEditForm(forms.Form):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
self.slot = kwargs.pop("slot")
|
self.slot = kwargs.pop("slot")
|
||||||
super(SlotEditForm, self).__init__(*args, **kwargs)
|
super(SlotEditForm, self).__init__(*args, **kwargs)
|
||||||
if self.slot.kind.label in ["talk", "tutorial"]:
|
# @@@ TODO - Make this configurable
|
||||||
|
if self.slot.kind.label in ["talk", "tutorial", "keynote"]:
|
||||||
self.fields["presentation"] = self.build_presentation_field()
|
self.fields["presentation"] = self.build_presentation_field()
|
||||||
else:
|
else:
|
||||||
self.fields["content_override"] = self.build_content_override_field()
|
self.fields["content_override"] = self.build_content_override_field()
|
||||||
|
|
Loading…
Reference in a new issue