diff options
author | W. Trevor King <wking@drexel.edu> | 2010-02-22 17:22:34 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-02-22 17:22:34 -0500 |
commit | 3f7057dabf71bd390171e66729f5798758ca8f03 (patch) | |
tree | ca65cb6868bb863b0d797a2bef5ba638eb193b29 | |
parent | 8c6466e1c0ece79dab0d358097503c6d637ea203 (diff) | |
download | bugseverywhere-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
-rw-r--r-- | libbe/command/html.py | 6 |
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> |