aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-02-22 17:22:34 -0500
committerW. Trevor King <wking@drexel.edu>2010-02-22 17:22:34 -0500
commit3f7057dabf71bd390171e66729f5798758ca8f03 (patch)
treeca65cb6868bb863b0d797a2bef5ba638eb193b29 /libbe/command
parent8c6466e1c0ece79dab0d358097503c6d637ea203 (diff)
downloadbugseverywhere-3f7057dabf71bd390171e66729f5798758ca8f03.tar.gz
Fix relative links from bug pages in `be html`.
Introduced by bugs/XXX.html -> bugs/XXX/index.html in wking@drexel.edu-20100220181238-j5ecst02y0k9ioo9
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/html.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py
index d26faf8..c9f89f3 100644
--- a/libbe/command/html.py
+++ b/libbe/command/html.py
@@ -168,9 +168,9 @@ class HTMLGen (object):
self._write_css_file()
for b in bugs:
if b.active:
- up_link = '../index.html'
+ up_link = '../../index.html'
else:
- up_link = '../index_inactive.html'
+ up_link = '../../index_inactive.html'
self._write_bug_file(b, up_link)
self._write_index_file(
bugs_active, title=self.title,
@@ -642,7 +642,7 @@ class HTMLGen (object):
<head>
<title>%(title)s</title>
<meta http-equiv="Content-Type" content="text/html; charset=%(charset)s" />
- <link rel="stylesheet" href="../style.css" type="text/css" />
+ <link rel="stylesheet" href="../../style.css" type="text/css" />
</head>
<body>