details:
http://www.bx.psu.edu/hg/galaxy/rev/84386da2a3f3
changeset: 3551:84386da2a3f3
user: Kanwei Li <kanwei(a)gmail.com>
date: Mon Mar 22 16:59:20 2010 -0400
description:
Can customize main logo link url, rename viz links
diffstat:
templates/base_panels.mako | 8 ++++----
universe_wsgi.ini.sample | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 8938319bf173 -r 84386da2a3f3 templates/base_panels.mako
--- a/templates/base_panels.mako Mon Mar 22 12:32:14 2010 -0400
+++ b/templates/base_panels.mako Mon Mar 22 16:59:20 2010 -0400
@@ -205,9 +205,9 @@
Visualization
<div class="submenu">
<ul>
- <li><a href="${h.url_for( controller='/tracks',
action='index' )}">Build track browser</a></li>
+ <li><a href="${h.url_for( controller='/tracks',
action='index' )}">New Track Browser</a></li>
<li><hr style="color: inherit; background-color:
gray"/></li>
- <li><a href="${h.url_for( controller='/visualization',
action='list' )}">Stored visualizations</a></li>
+ <li><a href="${h.url_for( controller='/visualization',
action='list' )}">Saved Visualizations</a></li>
</ul>
</div>
</td>
@@ -287,11 +287,11 @@
## Logo, layered over tabs to be clickable
<div class="title" style="position: absolute; top: 0; left:
0;">
- <a href="/">
+ <a href="${app.config.get( 'logo_url', '/' )}">
<img border="0"
src="${h.url_for('/static/images/galaxyIcon_noText.png')}"
style="width: 26px; vertical-align: top;">
Galaxy
%if app.config.brand:
- <span class='brand'>/${app.config.brand}</span>
+ <span class='brand'>/ ${app.config.brand}</span>
%endif
</a>
</div>
diff -r 8938319bf173 -r 84386da2a3f3 universe_wsgi.ini.sample
--- a/universe_wsgi.ini.sample Mon Mar 22 12:32:14 2010 -0400
+++ b/universe_wsgi.ini.sample Mon Mar 22 16:59:20 2010 -0400
@@ -126,10 +126,12 @@
## for a local mirror where you are doing private software development
##
## Brand: appends "/[brand]" to the "Galaxy" text in the masthead
+## logo_url: replaces the default "Galaxy + brand" link url
## wiki_url: replaces the default galaxy main wiki
## bugs_email: replaces the default galaxy bugs email list
##citation_url: point to a URL listing citations
#brand = Private local mirror
+#logo_url = /
#wiki_url = /path/to/my/local/wiki
#bugs_email = mailto:galaxy-bugs@example.org
#citation_url = /path/to/my/citations