From 3f5035c6d57f66c66aa745e33affa8c8dde0904c Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Mon, 27 Jan 2020 11:07:11 +0200 Subject: [PATCH] gitweb: Add link to the manual page Signed-off-by: Veiko Aasa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/gitweb/__init__.py | 2 ++ plinth/modules/gitweb/views.py | 1 + 2 files changed, 3 insertions(+) diff --git a/plinth/modules/gitweb/__init__.py b/plinth/modules/gitweb/__init__.py index 2f8b15408..b4e5e43b0 100644 --- a/plinth/modules/gitweb/__init__.py +++ b/plinth/modules/gitweb/__init__.py @@ -59,6 +59,8 @@ description = [ 'Git tutorial.') ] +manual_page = 'GitWeb' + group = ('git-access', _('Read-write access to Git repositories')) app = None diff --git a/plinth/modules/gitweb/views.py b/plinth/modules/gitweb/views.py index 469f9ac42..d2aab09dd 100644 --- a/plinth/modules/gitweb/views.py +++ b/plinth/modules/gitweb/views.py @@ -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."""