From 98051751ffed7cae25427c46ad113de6670dd2a0 Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Sun, 20 Oct 2019 20:31:55 +0000 Subject: [PATCH] gitweb: add help text for description and owner fields in the form Closes #1665 Signed-off-by: Veiko Aasa [sunil@medhas.org cosmetic changes, isort] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/gitweb/forms.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plinth/modules/gitweb/forms.py b/plinth/modules/gitweb/forms.py index 98997c3e9..670570a70 100644 --- a/plinth/modules/gitweb/forms.py +++ b/plinth/modules/gitweb/forms.py @@ -21,6 +21,7 @@ Django form for configuring Gitweb. from django import forms from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ + from plinth.modules import gitweb @@ -36,10 +37,12 @@ class EditRepoForm(forms.Form): ) description = forms.CharField( - label=_('Description of the repository'), strip=True, required=False) + label=_('Description of the repository'), strip=True, required=False, + help_text=_('Optional, for displaying on Gitweb.')) owner = forms.CharField( - label=_('Repository\'s owner name'), strip=True, required=False) + label=_('Repository\'s owner name'), strip=True, required=False, + help_text=_('Optional, for displaying on Gitweb.')) is_private = forms.BooleanField( label=_('Private repository'), required=False,