]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/forum/thread.tt2
Possible to mark threads unread from a specific post
[ndwebbie.git] / root / src / forum / thread.tt2
index d2820580ffd06da3ce3da1c30de11a5d5942286c..19c3589a81e7f52395706f60c1bc8ae857ffae67 100644 (file)
@@ -17,7 +17,8 @@
 <p><a name="NewPosts">New posts below:</a></p>
        [% END %]
 <fieldset class="forum-post">
-<legend class="forum-post-header"><b>[% post.username %]</b> : [% post.time %] </legend>
+<legend class="forum-post-header"><b>[% post.username %]</b> : [% post.time %]
+       <a href="[% c.uri_for('markPostAsUnread',post.fpid) %]">Unread from here</a></legend>
 <div class="forum-post-body">[% post.message %]</div>
 </fieldset>
 [% END %]
@@ -89,6 +90,8 @@
 [% IF thread.post %]
 <script type="text/javascript">
 $(document).ready(function(){
+       $(".forum-post-header").append(
+               $("<span>").text(" | "));
        $(".forum-post-header").append(
                $("<a>").attr("href","#Reply").addClass("quotelink").text("Quote"));
        $(".quotelink").click(function(){