Only show follow/unfollow links for non-local Sones.
[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                 <%if !sone.local>
10                         <div>
11                                 <a class="follow<%if sone.friend> hidden<%/if>"><%= View.Sone.Button.FollowSone|l10n|html></a>
12                                 <a class="unfollow<%if !sone.friend> hidden<%/if>"><%= View.Sone.Button.UnfollowSone|l10n|html></a>
13                         </div>
14                 <%/if>
15         </div>
16 </div>