Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F1FFEC00 for ; Tue, 27 Nov 2012 13:14:39 +0000 (UTC) Received: (qmail 34149 invoked by uid 500); 27 Nov 2012 13:14:39 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 34096 invoked by uid 500); 27 Nov 2012 13:14:38 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 34057 invoked by uid 99); 27 Nov 2012 13:14:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:14:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:14:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4474823888E4; Tue, 27 Nov 2012 13:14:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1414170 - in /incubator/bloodhound/trunk: bloodhound_theme/bhtheme/templates/bh_about.html bloodhound_theme/bhtheme/theme.py installer/bloodhound_setup.py Date: Tue, 27 Nov 2012 13:14:14 -0000 To: bloodhound-commits@incubator.apache.org From: gjm@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121127131415.4474823888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gjm Date: Tue Nov 27 13:14:13 2012 New Revision: 1414170 URL: http://svn.apache.org/viewvc?rev=1414170&view=rev Log: adding a bloodhound about page with whitelabelling - towards #265 (from peter) Added: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html (with props) Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py incubator/bloodhound/trunk/installer/bloodhound_setup.py Added: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html?rev=1414170&view=auto ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html (added) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html Tue Nov 27 13:14:13 2012 @@ -0,0 +1,151 @@ + + + + + + + About ${chrome.labels.application_short} + + + + + +
+

About ${chrome.labels.application_short}

+

Standing on the shoulders of Trac, ${chrome.labels.application_full} + is a project hosted by the Apache Software Foundation's Incubator + project. +
+ Currently, it has three key aims: +

Multiple Projects

+ It will manage anything from your one pet project to dozens of + commercial or open source projects, and scale seamlessly in-between. + The built-in Wiki allows you to create proposals and store other + information. +

Easy to install

+ It will provide an installation process for Windows, Linux and Mac OS X. + Everything you need to run Bloodhound with your favourite web server + and database will be provided. +

User-friendly design

+ It provides a consistent experience throughout. + It will be obvious even to beginners how to carry out common tasks. + A dashboard will provide an overview of work assigned to you, + or watched by you. +

+ + Trac: Integrated SCM & Project Management + +

About Trac

+

Trac is a web-based software project management and bug/issue + tracking system emphasizing ease of use and low ceremony. + It provides an integrated Wiki, an interface to version control + systems, and a number of convenient ways to stay on top of events + and changes within a project. +

+

Trac is distributed under the modified BSD License.
+ The complete text of the license can be found + online + as well as in the COPYING file included in the distribution.

+ + python powered + +

Please visit the Trac open source project: + http://trac.edgewall.org/

+ + + +
+ +
+

System Information

+ + + + + + + + +
PackageVersion
$name$value
+
+ +
+

Installed Plugins

+ + + + + + + + + +
NameVersionLocation
+ $plugin.name + ${plugin.version or _('N/A')}$plugin.path
+
+ +
+

Configuration

+ + + + + + + + + + + + + + + + + +
SectionNameValue
${section.name}${option.name}${option.value}
+
+
+ +
+ + + Propchange: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html ------------------------------------------------------------------------------ svn:mime-type = text/html Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1414170&r1=1414169&r2=1414170&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Tue Nov 27 13:14:13 2012 @@ -102,6 +102,7 @@ class BloodhoundTheme(ThemeBase): 'product_view.html' : ('bh_product_view.html', None), # General purpose + 'about.html' : ('bh_about.html', None), 'history_view.html' : ('bh_history_view.html', None), # Account manager plugin @@ -147,6 +148,12 @@ class BloodhoundTheme(ThemeBase): def pre_process_request(self, req, handler): """Pre process request filter""" + c = self.env.config + req.chrome['labels'] = dict( + application_short = c.get( + 'labels', 'application_short', "Bloodhound"), + application_full = c.get( + 'labels', 'application_full', "Apache Bloodhound")) return handler def post_process_request(self, req, template, data, content_type): Modified: incubator/bloodhound/trunk/installer/bloodhound_setup.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/bloodhound_setup.py?rev=1414170&r1=1414169&r2=1414170&view=diff ============================================================================== --- incubator/bloodhound/trunk/installer/bloodhound_setup.py (original) +++ incubator/bloodhound/trunk/installer/bloodhound_setup.py Tue Nov 27 13:14:13 2012 @@ -73,6 +73,8 @@ BASE_CONFIG = {'components': {'bhtheme.* 'project': {'footer': ('Visit Apache Bloodhound at
' '%(site)s' % {'site': BH_PROJECT_SITE,}),}, + 'labels': {'application_short': 'Bloodhound', + 'application_full': 'Apache Bloodhound'}, } ACCOUNTS_CONFIG = {'account-manager': {'account_changes_notify_addresses' : '',