Add context menues when hovering over avatar images.
[Sone.git] / src / main / resources / templates / include / soneMenu.html
1 <div class="sone-menu <% class|css|html>">
2         <div class="sone-id hidden"><%sone.id|html></div>
3         <img class="avatar" src="/WebOfTrust/GetIdenticon?identity=<%sone.id|html>&amp;width=64&height=64" width="64" height="64" alt="Avatar Image" />
4         <div class="inner-menu">
5                 <div>
6                         <a class="author" href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a>
7                         <span class="author-wot-link">(<a href="/WebOfTrust/ShowIdentity?id=<%sone.id|html>"><% =View.Post.WebOfTrustLink|l10n|html></a>)</span>
8                 </div>
9                 <div>
10                         <a class="follow<%if sone.friend> hidden<%/if>"><%= View.Sone.Button.FollowSone|l10n|html></a>
11                         <a class="unfollow<%if !sone.friend> hidden<%/if>"><%= View.Sone.Button.UnfollowSone|l10n|html></a>
12                 </div>
13         </div>
14 </div>