Paginate images in gallery mode.
[Sone.git] / src / main / resources / templates / include / soneMenu.html
1 <div class="sone-menu <% class|css|html>">
2         <div class="sone-menu-id hidden"><%sone.id|html></div>
3         <div class="avatar menu-avatar">
4                 <%ifnull !sone.profile.avatar>
5                         <%sone.profile.avatar|image-link max-width=64 max-height=64 mode=enlarge title==sone.niceName>
6                 <%else>
7                         <img src="/WebOfTrust/GetIdenticon?identity=<%sone.id|html>&amp;width=64&amp;height=64" width="64" height="64" alt="Avatar Image" />
8                 <%/if>
9         </div>
10         <div class="inner-menu">
11                 <div>
12                         <a class="author" href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a>
13                         (<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size><%if ! sone.allImages.size|match value=0>, <%= View.Sone.Stats.Images|l10n 0=sone.allImages.size><%/if>)
14                 </div>
15                 <div><a href="/WebOfTrust/ShowIdentity?id=<%sone.id|html>">» <% =View.Post.WebOfTrustLink|l10n|html></a></div>
16                 <%foreach sone.albums album>
17                         <%first>
18                                 <div><a href="imageBrowser.html?sone=<% sone.id|html>">» <% =View.SoneMenu.Link.AllAlbums|l10n|html></a></div>
19                         <%/first>
20                 <%/foreach>
21                 <%if !sone.local>
22                         <div>
23                                 <button class="follow<%if sone.friend> hidden<%/if>"><%= View.Sone.Button.FollowSone|l10n|html></button>
24                                 <button class="unfollow<%if !sone.friend> hidden<%/if>"><%= View.Sone.Button.UnfollowSone|l10n|html></button>
25                         </div>
26                 <%/if>
27         </div>
28 </div>