gitweb: Minor fixes after review

- Since Wiki Commons and Icons project seems to be referring to each other for
  license about the git icon, point to the upstream git as source for copyright.

- Rename the is_running() method so that it won't clash with the semantics of
  is_running method in other components.

- Fix incorrect call to have_public_repos() in is_enabled() method for gitweb
  auth configuration.

- Use {{ block.super }} to avoid repeating inherited block.

- Send the repository data as context data rather than form data in AppView.
  This seems more appropriate.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa committed 2019-10-19 19:13:57 -07:00
1 parent 1b9dea4033
commit 8d4614c3e2
4 files changed
+14 -23

No files matched your search

+3 -3
View File
@@ -76,9 +76,9 @@ License: CC-BY-SA-3.0 or GPL-3+
Files: static/themes/default/icons/gitweb.png
static/themes/default/icons/gitweb.svg
Copyright: Git
Comment: https://commons.wikimedia.org/wiki/File:Git_icon_2007.svg
License: GPL-2+
Copyright: 2010 Git Authors
Comment: https://github.com/git/git/blob/master/gitweb/static/git-logo.png
License: GPL-2
Files: static/themes/default/icons/google-play.png
Copyright: Chameleon Design (https://thenounproject.com/Chamedesign/)