Store a Sone’s known status in the Sone itself.
[Sone.git] / src / main / resources / templates / notify / newReplyNotification.html
1 <form class="mark-as-read" action="markAsKnown.html" method="post">
2         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
3         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
4         <input type="hidden" name="type" value="reply" />
5         <input type="hidden" name="id" value="<%foreach replies reply><% reply.id|html><%notlast> <%/notlast><%/foreach>" />
6         <button type="submit" name="mark-read" value="true"><%= Notification.NewPost.Button.MarkRead|l10n|html></button>
7 </form>
8 <div class="short-text hidden">
9         <%= Notification.NewReply.ShortText|l10n|html>
10         <a class="link" onclick="showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
11 </div>
12 <div class="text">
13         <%foreach replies reply><div class="hidden reply-id"><%reply.id|html></div><%/foreach>
14         <%= Notification.NewReply.Text|l10n|html>
15         <%foreach replies postGroup|replyGroup>
16                 <a class="link-<% postGroup.key.id|html>" href="viewPost.html?post=<% postGroup.key.id|html>"><% postGroup.key.sone.niceName|html></a> (<%foreach postGroup.value.sones sone><%sone.niceName|html><%notlast>, <%/notlast><%/foreach>)<%notlast>, <%/notlast><%last>.<%/last>
17         <%/foreach>
18 </div>