mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
gitweb: add help text for description and owner fields in the form
Closes #1665 Signed-off-by: Veiko Aasa <veiko17@disroot.org> [sunil@medhas.org cosmetic changes, isort] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
08b90f6830
commit
98051751ff
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user