summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-06-24 08:24:23 +0200
committerSean Finney <seanius@debian.org>2008-06-24 08:24:23 +0200
commitd59308962f37e1c723792837d9603ed093d2501b (patch)
treea06126e484cad2dd36b8d4545acf4a1800f40c09
parent5aa42410150f113b556fe63b1a26adbcc1beb830 (diff)
downloadpatch-tracker-d59308962f37e1c723792837d9603ed093d2501b.tar.gz
reference static content from unique path
...so we can alias it directly, which should allow for the cleanest subdir vs. vhost support
-rwxr-xr-xgen-patch-info.py2
-rw-r--r--templates/skeleton.tmpl3
2 files changed, 2 insertions, 3 deletions
diff --git a/gen-patch-info.py b/gen-patch-info.py
index afe6b3e..3c8ae0d 100755
--- a/gen-patch-info.py
+++ b/gen-patch-info.py
@@ -42,6 +42,4 @@ if __name__ == '__main__':
db.saveSourcePackage(p)
db.relateSourcePackage(p,suite=s,component=c)
- os.system("cp -a "+Conf.static_dir+"/* "+Conf.output_dir)
-
db.finalize()
diff --git a/templates/skeleton.tmpl b/templates/skeleton.tmpl
index cd4ff12..12c379a 100644
--- a/templates/skeleton.tmpl
+++ b/templates/skeleton.tmpl
@@ -3,7 +3,8 @@
<html>
<head>
<title>$title</title>
- <link rel="stylesheet" type="text/css" href="$conf.root_url/css/patches.css"/>
+ <link rel="stylesheet" type="text/css"
+ href="$conf.root_url/static/css/patches.css"/>
</head>
<body>
$body