X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fforum%2Fthread.tt2;h=40163cd583e6948651064e7fa44fb738ff16d1d4;hb=e4bc2f39c57c25dacc316a602e8d0280b4fbcce7;hp=4ea7eb74dcdff002bcc1ea4e408483242aa73ef8;hpb=42d98f9f6a1c8a210e1755c81db85cd4fc44d901;p=ndwebbie.git diff --git a/root/src/forum/thread.tt2 b/root/src/forum/thread.tt2 index 4ea7eb7..40163cd 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,11 +17,19 @@

New posts below:

[% END %]
-[% post.username %] : [% post.time %] +[% post.username %] : [% post.time %] + [% IF c.user.id %] + Unread from here + [% END %] +
[% post.message %]
[% END %] +[% IF c.user.id %] +Mark thread as unread +[% END %] + [% IF thread.post %]
New Reply @@ -79,12 +91,10 @@ [% END %] [% IF thread.post %] -[%- site.stylesheets = ['markitup/skins/simple/style.css','markitup/sets/bbcode/style.css' ] %] - - - +[% INCLUDE inc/markitup.tt2 %] [% END %]