X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=inline;f=root%2Fsrc%2Fforum%2Fthread.tt2;h=19c3589a81e7f52395706f60c1bc8ae857ffae67;hb=56ac564207e3abcfcc7929ec155c883a564862c6;hp=b8879d4296bc902c893fe498b47317f4d590c7f0;hpb=2c8cd1ee01b115d3c0290a2050bbb076aa6508dc;p=ndwebbie.git diff --git a/root/src/forum/thread.tt2 b/root/src/forum/thread.tt2 index b8879d4..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 %]