Added help text for duration field in agenda item form. (Fixed #1085)
This commit is contained in:
parent
5bff907b34
commit
94abda60b5
@ -27,7 +27,8 @@ class ItemForm(CleanHtmlFormMixin, CssClassMixin, forms.ModelForm):
|
|||||||
error_message=ugettext_lazy("Invalid format. Hours from 0 to 99 and minutes from 00 to 59"),
|
error_message=ugettext_lazy("Invalid format. Hours from 0 to 99 and minutes from 00 to 59"),
|
||||||
max_length=5,
|
max_length=5,
|
||||||
required=False,
|
required=False,
|
||||||
label=ugettext_lazy("Duration (hh:mm)"))
|
label=ugettext_lazy("Duration"),
|
||||||
|
help_text=ugettext_lazy('Input format: HH:MM or MM'))
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Item
|
model = Item
|
||||||
|
@ -63,8 +63,7 @@ class Item(SlideMixin, MPTTModel):
|
|||||||
See Item.ITEM_TYPE for more information.
|
See Item.ITEM_TYPE for more information.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
duration = models.CharField(null=True, blank=True, max_length=5,
|
duration = models.CharField(null=True, blank=True, max_length=5)
|
||||||
verbose_name=ugettext_lazy("Duration (hh:mm)"))
|
|
||||||
"""
|
"""
|
||||||
The intended duration for the topic.
|
The intended duration for the topic.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user