]> git.decadent.org.uk Git - maypole.git/commitdiff
Added patch to fix generation of some URIs in the standard templates.
authorBen Hutchings <ben@decadent.org.uk>
Sun, 16 Sep 2007 19:13:23 +0000 (19:13 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 4 Nov 2008 03:32:55 +0000 (03:32 +0000)
debian/patches/108_fix-uris.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/108_fix-uris.diff b/debian/patches/108_fix-uris.diff
new file mode 100644 (file)
index 0000000..a3ffc60
--- /dev/null
@@ -0,0 +1,22 @@
+--- trunk.orig/lib/Maypole/templates/factory/macros
++++ trunk/lib/Maypole/templates/factory/macros
+@@ -14,7 +14,7 @@
+ [%
+ MACRO link(table, command, additional, label) BLOCK;
+     SET lnk = base _ "/" _ table _ "/" _ command _ "/" _ additional;
+-    lnk = lnk | uri ;
++    lnk = lnk | html ;
+     '<a href="' _ lnk _ '">';
+     label | html;
+     "</a>";
+--- trunk.orig/lib/Maypole/templates/factory/header
++++ trunk/lib/Maypole/templates/factory/header
+@@ -10,7 +10,7 @@
+         </title>
+         <meta http-equiv="Content-Type" content="text/html; charset=[% request.document_encoding %]" />
+       <base href="[% config.uri_base%]"/>
+-        <link title="Maypole" href="[% config.uri_base %]/maypole.css" type="text/css" rel="stylesheet" />
++        <link title="Maypole" href="[% base %]/maypole.css" type="text/css" rel="stylesheet" />
+    </head>
+     <body>
+         <div class="content">
index 53fd9503a1652f88f88c1e19a107f5461c87fbf8..efe0375f6e58d92fd96248afc4bbe6b2c8a4972c 100644 (file)
@@ -5,4 +5,5 @@
 105_dont-use-warn-method.diff
 106_fix-_column_info-clash.diff
 107_make-examples-consistent.diff
+108_fix-uris.diff
 201_no-file-mmagic-xs.diff