1 <%include include/head.html>
3 <div class="page-id hidden">view-sone</div>
4 <div class="sone-id hidden"><% sone.id|html></div>
8 <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
10 <p><%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=soneId|html></p>
12 <%elseifnull sone.name>
14 <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
16 <p><%= Page.ViewSone.UnknownSone.Description|l10n|html></p>
18 <%= Page.ViewSone.UnknownSone.LinkToWebOfTrust|l10n|html>
19 <a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>
25 <%include include/viewSone.html>
28 <h1><%= Page.ViewSone.Profile.Title|l10n|html></h1>
30 <div class="profile-field">
31 <div class="name"><%= Page.ViewSone.Profile.Label.Name|l10n|html></div>
32 <div class="value"><% sone.niceName|html> (<a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>)</div>
35 <%foreach sone.albums album>
37 <div class="profile-field">
38 <div class="name"><%= Page.ViewSone.Profile.Label.Albums|l10n|html></div>
40 <a href="imageBrowser.html?sone=<% sone.id|html>"><% =Page.ViewSone.Profile.Albums.Text.All|l10n|html></a>,
42 <a href="imageBrowser.html?album=<%album.id|html>"><%album.title|html></a><%notlast>, <%/notlast>
49 <%foreach sone.profile.fields field>
50 <div class="profile-field">
51 <div class="name"><% field.name|html></div>
52 <div class="value"><% field.value|parse></div>
56 <%ifnull ! currentSone>
58 <p><%= Page.ViewSone.WriteAMessage|l10n|html></p>
60 <form action="createPost.html" id="post-message" method="post">
61 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
62 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
63 <input type="hidden" name="recipient" value="<% sone.id|html>" />
64 <label for="sender"><%= Page.Index.Label.Sender|l10n|html></label>
66 <select name="sender" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">
67 <%foreach localSones localSone>
68 <option value="<% localSone.id|html>"<%if localSone.current> selected="selected"<%/if>><% localSone.niceName|html></option>
72 <div class="select-sender"><button type="button" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">+</button></div><label for="text"><%= Page.Index.Label.Text|l10n|html></label>
73 <input type="text" name="text" value="" />
74 <button type="submit"><%= Page.CreatePost.Button.Post|l10n|html></button>
79 <h1><%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html></h1>
84 <%include include/pagination.html pagination=postPagination pageParameter==postPage paginationName==post-navigation>
86 <%include include/viewPost.html>
88 <%include include/pagination.html pagination=postPagination pageParameter==postPage>
92 <div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
95 <%foreach repliedPosts post>
97 <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle="{sone}" replacementKey=sone.niceName></h2>
98 <div id="replied-posts">
99 <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
101 <%include include/viewPost.html>
103 <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
110 <%include include/tail.html>