X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=inline;f=root%2Fsrc%2Fforum%2Fthread.tt2;h=19c3589a81e7f52395706f60c1bc8ae857ffae67;hb=56ac564207e3abcfcc7929ec155c883a564862c6;hp=e08b4755cbf4425282056ec0ce0124135528f2fe;hpb=95fc57400c17c20a16c78e33b4c0b2abcf45b05a;p=ndwebbie.git diff --git a/root/src/forum/thread.tt2 b/root/src/forum/thread.tt2 index e08b475..19c3589 100644 --- a/root/src/forum/thread.tt2 +++ b/root/src/forum/thread.tt2 @@ -5,6 +5,10 @@ Make this thread [% thread.sticky ? 'unsticky' : 'sticky' %] [% END %] +[% IF c.user.id %] +Mark thread as unread +[% END %] + [% createNewPostHr = 1 %] [% FOR post IN posts %] [% IF createNewPostHr AND post.unread%] @@ -13,14 +17,19 @@
[% END %] [% END %] +[% IF c.user.id %] +Mark thread as unread +[% END %] + [% IF thread.post %]