You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by pe...@apache.org on 2012/11/29 16:42:11 UTC
svn commit: r1415218 - in /incubator/bloodhound/trunk:
bloodhound_theme/bhtheme/templates/bloodhound_theme.html
bloodhound_theme/bhtheme/theme.py installer/bloodhound_setup.py
Author: peter
Date: Thu Nov 29 15:42:10 2012
New Revision: 1415218
URL: http://svn.apache.org/viewvc?rev=1415218&view=rev
Log:
#267 - Whitelabeling/detracify: Right footer
- added labels/footer_right alternative to project/footer for completeness
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
incubator/bloodhound/trunk/installer/bloodhound_setup.py
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1415218&r1=1415217&r2=1415218&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html Thu Nov 29 15:42:10 2012
@@ -273,7 +273,11 @@
${chrome.labels.application_version}</a>
${chrome.labels.footer_left_postfix}
</div>
- <div class="span4"><div class="pull-right">${chrome.footer}</div></div>
+ <div class="span4">
+ <div class="pull-right">
+ ${chrome.labels.footer_right or chrome.footer}
+ </div>
+ </div>
</div>
</div>
<br/>
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1415218&r1=1415217&r2=1415218&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Thu Nov 29 15:42:10 2012
@@ -159,6 +159,8 @@ class BloodhoundTheme(ThemeBase):
'labels', 'footer_left_prefix', ""),
footer_left_postfix = c.get(
'labels', 'footer_left_postfix', ""),
+ footer_right = c.get(
+ 'labels', 'footer_right', ""),
application_version = ".".join(map(str, application_version)))
return handler
Modified: incubator/bloodhound/trunk/installer/bloodhound_setup.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/bloodhound_setup.py?rev=1415218&r1=1415217&r2=1415218&view=diff
==============================================================================
--- incubator/bloodhound/trunk/installer/bloodhound_setup.py (original)
+++ incubator/bloodhound/trunk/installer/bloodhound_setup.py Thu Nov 29 15:42:10 2012
@@ -76,7 +76,8 @@ BASE_CONFIG = {'components': {'bhtheme.*
'labels': {'application_short': 'Bloodhound',
'application_full': 'Apache Bloodhound',
'footer_left_prefix': '',
- 'footer_left_postfix': ''},
+ 'footer_left_postfix': '',
+ 'footer_right': ''},
}
ACCOUNTS_CONFIG = {'account-manager': {'account_changes_notify_addresses' : '',