add link to own member details on the top right

This commit is contained in:
Henry 2021-05-11 08:29:55 +02:00
parent eaaed06fba
commit 3d9c567cf6
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@
<svg class="text-green-500 w-4 h-4 mr-1" viewBox="0 0 24 24">
<path fill="currentColor" d="M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z" />
</svg>
<span class="text-green-500 text-sm truncate w-32">{{$user.PubKey.Ref}}</span>
<!-- TODO: i'd like to include the key SVG in the lnk but this breaks the layout -->
<div class="text-green-500 text-sm truncate w-32">
<a href="{{urlTo "admin:member:details" "id" $user.ID}}">{{$user.PubKey.Ref}}</a>
</div>
</div>
<a
href="{{urlTo "auth:logout"}}"