Added help text for duration field in agenda item form. (Fixed #1085)

This commit is contained in:
Emanuel Schuetze 2013-11-22 09:01:52 +01:00
parent 5bff907b34
commit 94abda60b5
2 changed files with 3 additions and 3 deletions

View File

@ -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"),
max_length=5,
required=False,
label=ugettext_lazy("Duration (hh:mm)"))
label=ugettext_lazy("Duration"),
help_text=ugettext_lazy('Input format: HH:MM or MM'))
class Meta:
model = Item

View File

@ -63,8 +63,7 @@ class Item(SlideMixin, MPTTModel):
See Item.ITEM_TYPE for more information.
"""
duration = models.CharField(null=True, blank=True, max_length=5,
verbose_name=ugettext_lazy("Duration (hh:mm)"))
duration = models.CharField(null=True, blank=True, max_length=5)
"""
The intended duration for the topic.
"""