[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] use config's snapshot.domain in page.mako



---
 web/app/snapshot/templates/page.mako |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/app/snapshot/templates/page.mako b/web/app/snapshot/templates/page.mako
index 5dc4fa7..6e10775 100644
--- a/web/app/snapshot/templates/page.mako
+++ b/web/app/snapshot/templates/page.mako
@@ -3,16 +3,16 @@
 <html xmlns="http://www.w3.org/1999/xhtml";>
 	<head>
 		% if c.title == "":
-			<title>snapshot.debian.org</title>
+			<title>${config['app_conf']['snapshot.domain']}</title>
 		% else:
-			<title>${c.title} - snapshot.debian.org</title>
+			<title>${c.title} - ${config['app_conf']['snapshot.domain']}</title>
 		% endif
 		<link rel="stylesheet" type="text/css" href="/static/style.css" />
 		<link rel="icon" type="image/vnd.microsoft.icon" href="/static/favicon.ico" />
 	</head>
 	<body>
 		<div id="top">
-			<a id="logo" href="http://snapshot.debian.org/";><img src="/static/images/top.png" alt="snapshot.debian.org" width="644" height="71"/></a>
+			<a id="logo" href="http://${config['app_conf']['snapshot.domain']}"><img src="/static/images/top.png" alt="${config['app_conf']['snapshot.domain']}" width="644" height="71"/></a>
 		</div>
 		% if not c.breadcrumbs is UNDEFINED and (len(c.breadcrumbs) != 0):
 			<div id="pageheader">
-- 
1.5.6.5



Reply to: