protected void processTemplate(Request request, Template template) throws RedirectException {
super.processTemplate(request, template);
String soneId = request.getHttpRequest().getParam("sone");
- Sone sone = webInterface.getCore().getSone(soneId);
+ Sone sone = webInterface.getCore().getSone(soneId, false);
template.set("sone", sone);
}
Page.ViewSone.Title=View Sone - Sone
Page.ViewSone.Page.TitleWithoutSone=View unknown Sone
+Page.ViewSone.NoSone.Description=There is currently no known Sone with the ID {sone}. If you were looking for a specific Sone, make sure that it is visible in your web of trust!
Page.ViewSone.UnknownSone.Description=This Sone has not yet been retrieved. Please check back in a short time.
Page.ViewSone.PostList.Title=Posts by {sone}
Page.ViewSone.PostList.Text.NoPostYet=This Sone has not yet posted anything.
<%include include/head.html>
- <%ifnull sone.name>
+ <%ifnull sone>
+
+ <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
+
+ <p><%= Page.ViewSone.NoSone.Description|l10n|insert needle="{sone}" key=sone.id|html></p>
+
+ <%elseifnull sone.name>
<h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>