Don't access the Sone in the constructor.
[Sone.git] / src / main / resources / templates / notify / newSoneNotification.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="sone" />
5         <input type="hidden" name="id" value="<%foreach sones sone><% sone.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.NewSone.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         <%= Notification.NewSone.Text|l10n|html>
14         <%foreach sones sone>
15                 <div class="hidden new-sone-id"><% sone.id|html></div>
16                 <a href="viewSone.html?sone=<% sone.id|html>" title="<% sone.requestUri|html>"><% sone.niceName|html></a><%notlast>,<%/notlast><%last>.<%/last>
17         <%/foreach>
18 </div>