mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
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:
parent
9c33567a54
commit
3f5035c6d5
@ -59,6 +59,8 @@ description = [
|
|||||||
'<a href="https://git-scm.com/docs/gittutorial">Git tutorial</a>.')
|
'<a href="https://git-scm.com/docs/gittutorial">Git tutorial</a>.')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
manual_page = 'GitWeb'
|
||||||
|
|
||||||
group = ('git-access', _('Read-write access to Git repositories'))
|
group = ('git-access', _('Read-write access to Git repositories'))
|
||||||
|
|
||||||
app = None
|
app = None
|
||||||
|
|||||||
@ -44,6 +44,7 @@ class GitwebAppView(views.AppView):
|
|||||||
show_status_block = False
|
show_status_block = False
|
||||||
template_name = 'gitweb_configure.html'
|
template_name = 'gitweb_configure.html'
|
||||||
icon_filename = gitweb.icon_filename
|
icon_filename = gitweb.icon_filename
|
||||||
|
manual_page = gitweb.manual_page
|
||||||
|
|
||||||
def get_context_data(self, *args, **kwargs):
|
def get_context_data(self, *args, **kwargs):
|
||||||
"""Add repositories to the context data."""
|
"""Add repositories to the context data."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user