TemplateNotification templateNotification = soneInsertNotifications.get(sone);
if (templateNotification == null) {
templateNotification = new TemplateNotification(TemplateParser.parse(createReader("/templates/notify/soneInsertNotification.html")));
- templateNotification.set("sone", sone);
+ templateNotification.set("insertSone", sone);
soneInsertNotifications.put(sone, templateNotification);
}
return templateNotification;
<%if soneStatus|match value="inserting">
- Your Sone <a href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a> is now being inserted.
+ Your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> is now being inserted.
<%elseif soneStatus|match value="inserted">
- Your Sone <a href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a> has been inserted in <%= Notification.SoneInsert.Duration|l10n 0=insertDuration>.
+ Your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> has been inserted in <%= Notification.SoneInsert.Duration|l10n 0=insertDuration>.
<%elseif soneStatus|match value="insert-aborted">
- Inserting your Sone <a href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a> has failed.
+ Inserting your Sone <a href="viewSone.html?sone=<%insertSone.id|html>"><%insertSone.niceName|html></a> has failed.
<%/if>
\ No newline at end of file