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>
11 <%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=soneId|html>
12 <a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>
15 <%elseifnull sone.name>
17 <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
19 <p><%= Page.ViewSone.UnknownSone.Description|l10n|html></p>
21 <%= Page.ViewSone.UnknownSone.LinkToWebOfTrust|l10n|html>
22 <a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>
28 <%include include/viewSone.html>
31 <h1><%= Page.ViewSone.Profile.Title|l10n|html></h1>
33 <div class="profile-field">
34 <div class="name"><%= Page.ViewSone.Profile.Label.Name|l10n|html></div>
35 <div class="value"><% sone.niceName|html> (<a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>)</div>
38 <%foreach sone.albums album>
40 <div class="profile-field">
41 <div class="name"><%= Page.ViewSone.Profile.Label.Albums|l10n|html></div>
43 <a href="imageBrowser.html?sone=<% sone.id|html>"><% =Page.ViewSone.Profile.Albums.Text.All|l10n|html></a>,
45 <a href="imageBrowser.html?album=<%album.id|html>"><%album.title|html></a><%notlast>, <%/notlast>
52 <%foreach sone.profile.fields field>
53 <div class="profile-field">
54 <div class="name"><% field.name|html></div>
55 <div class="value"><% field.value|parse></div>
59 <%ifnull ! currentSone>
61 <p><%= Page.ViewSone.WriteAMessage|l10n|html></p>
63 <form action="createPost.html" id="post-message" method="post">
64 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
65 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
66 <input type="hidden" name="recipient" value="<% sone.id|html>" />
67 <label for="sender"><%= Page.Index.Label.Sender|l10n|html></label>
69 <select name="sender" title="<%= View.UpdateStatus.Text.ChooseSenderIdentity|l10n|html>">
70 <%foreach localSones localSone>
71 <option value="<% localSone.id|html>"<%if localSone.current> selected="selected"<%/if>><% localSone.niceName|html></option>
75 <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>
76 <input type="text" name="text" value="" />
77 <button type="submit"><%= Page.CreatePost.Button.Post|l10n|html></button>
82 <h1><%= Page.ViewSone.PostList.Title|l10n|replace needle="{sone}" replacementKey=sone.niceName|html></h1>
87 <%include include/pagination.html pagination=postPagination pageParameter==postPage paginationName==post-navigation>
89 <%include include/viewPost.html>
91 <%include include/pagination.html pagination=postPagination pageParameter==postPage>
95 <div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>
98 <%foreach repliedPosts post>
100 <h2><%= Page.ViewSone.Replies.Title|l10n|html|replace needle="{sone}" replacementKey=sone.niceName></h2>
101 <div id="replied-posts">
102 <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage paginationName==reply-navigation>
104 <%include include/viewPost.html>
106 <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
113 <%include include/tail.html>