# HG changeset patch # User Bradley M. Kuhn # Date 2014-05-21 19:35:27 # Node ID 9dd726706178c22e6db3f75a355995e1ca4a3b99 # Parent ad49bbd8f9842ba12547b33ab5586ff1dce525d3 Complete copyright notices for web interface; change footer to link to them. The original copyright notice found in the footer was not accurate as it included only one of the many copyright holders in this project. This change creates an "about" page, which currently contains just the copyright and license information. It links to repository for additional potential copyright holders not listed on the about page. Unlisted contributors are mentioned in template comments. Html links for Kallithea is fixed and we link to Conservancy. Display of version information in the footer is improved. diff --git a/rhodecode/config/routing.py b/rhodecode/config/routing.py --- a/rhodecode/config/routing.py +++ b/rhodecode/config/routing.py @@ -101,6 +101,7 @@ def make_map(config): #MAIN PAGE rmap.connect('home', '/', controller='home', action='index') + rmap.connect('about', '/about', controller='home', action='about') rmap.connect('repo_switcher_data', '/_repos', controller='home', action='repo_switcher_data') diff --git a/rhodecode/controllers/home.py b/rhodecode/controllers/home.py --- a/rhodecode/controllers/home.py +++ b/rhodecode/controllers/home.py @@ -49,6 +49,9 @@ class HomeController(BaseController): def __before__(self): super(HomeController, self).__before__() + def about(self): + return render('/about.html') + @LoginRequired() def index(self): c.groups = self.scm_model.get_repo_groups() diff --git a/rhodecode/templates/about.html b/rhodecode/templates/about.html new file mode 100644 --- /dev/null +++ b/rhodecode/templates/about.html @@ -0,0 +1,91 @@ +## -*- coding: utf-8 -*- +<%inherit file="/base/base.html"/> +<%def name="title()"> + ${_('About')} + %if c.site_name: + · ${c.site_name} + %endif + +<%def name="breadcrumbs()"> + ${c.site_name} + +<%def name="page_nav()"> + ${self.menu('about')} + +<%def name="main()"> + +
+ +
+
${_('About')} Kallithea
+
+ +

Kallithea is a project of the + Software Freedom Conservancy, Inc. + and is released under the terms of the + GNU General Public License, + v 3.0 (GPLv3).

+ +

Kallithea is copyrighted by various authors, including but not + necessarily limited to the following: +

+ +

The above are the copyright holders who have submitted direct + contributions to the Kallithea repository. In + the Kallithea source + code, there is + a list + of third-party libraries and code that Kallithea incorporates.

+ +
+ + diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html +++ b/rhodecode/templates/base/base.html @@ -37,11 +37,14 @@ ${_('Server instance: %s') % c.rhodecode_instanceid if c.rhodecode_instanceid else ''}