]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
add dependency on comment page, so links show up after refresh
authorDavid Bremner <bremner@unb.ca>
Wed, 10 Sep 2008 10:32:46 +0000 (07:32 -0300)
committerDavid Bremner <bremner@unb.ca>
Wed, 10 Sep 2008 10:42:59 +0000 (07:42 -0300)
IkiWiki/Plugin/postal.pm
TODO
test-wiki/in/mailbox.css [changed from symlink to file mode: 0644]
test-wiki/test.setup

index f9fc955e7dc50339dbbc06a89b1c444b3a176074..e1e00d72ea4b071d369d9b205b37b789a2524637 100644 (file)
@@ -50,6 +50,8 @@ sub pagetemplate (@)
 
     my $comment_page=$destpage . "/" . $subpage_name;
 
+    add_depends($params{page},$comment_page);
+
     my $comment_link=undef;
     if (exists $pagesources{$comment_page}){
        $comment_link=htmllink($page,$destpage,$comment_page,
diff --git a/TODO b/TODO
index 2808a8513df94530f48042bf9d5818a60d74e2e3..adc949ece609098b93751b8c13af417eddff138c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,7 +1,5 @@
 * support threading (comments on comments)
 * Clean up debugging cruft
 * put dependencies list in README
-* creating a comment mailbox does not add link to parent page
-  until next rebuild
 * adding a message does not refresh
 
deleted file mode 120000 (symlink)
index e07c437eb53b1eeec00ca4e79717f7e60bcf22bb..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../examples/mailbox.css
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..d4f7ad0fbdcce6baa1ed1a895ae5f45c795195bc
--- /dev/null
@@ -0,0 +1,15 @@
+
+
+div.mailmessage{
+    border-top: 1px solid;
+    margin-top: 1%
+
+}
+.headername {
+font-weight: bold;
+  }
+
+.emailthreadindent{
+position: relative;
+left: 5%;
+}
\ No newline at end of file
index 0f30f9577df1b1cd0d1c6b39751e6268e93bb10e..a04a22c28107245d92d1c371d4252e661ae22e54 100644 (file)
@@ -14,7 +14,7 @@ use IkiWiki::Setup::Standard {
        srcdir => $ENV{PWD}."/test-src",
        destdir => "/tmp/postal-test",
 
-       url => "file:///tmp/postaltest-wiki/",
+       url => "file:///tmp/postal-test/",
        #cgiurl => "http://example.org/wiki/ikiwiki.cgi",
        templatedir => $ENV{PWD}."/../examples",
        #underlaydir => "/usr/share/ikiwiki/basewiki",