gitweb: Add link to the manual page

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Veiko Aasa 2020-01-27 11:07:11 +02:00 committed by Sunil Mohan Adapa
parent 9c33567a54
commit 3f5035c6d5
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,8 @@ description = [
'<a href="https://git-scm.com/docs/gittutorial">Git tutorial</a>.')
]
manual_page = 'GitWeb'
group = ('git-access', _('Read-write access to Git repositories'))
app = None

View File

@ -44,6 +44,7 @@ class GitwebAppView(views.AppView):
show_status_block = False
template_name = 'gitweb_configure.html'
icon_filename = gitweb.icon_filename
manual_page = gitweb.manual_page
def get_context_data(self, *args, **kwargs):
"""Add repositories to the context data."""