linkify nox userinfo avatar

This commit is contained in:
Azareal 2020-08-19 15:32:05 +10:00
parent a1d5248b45
commit e4242eb580

View File

@ -45,7 +45,7 @@
{{/** TODO: Make this a separate template and load it via the theme docks, here for now so we can rapidly prototype the Nox theme **/}} {{/** TODO: Make this a separate template and load it via the theme docks, here for now so we can rapidly prototype the Nox theme **/}}
{{if eq .Header.Theme.Name "nox"}} {{if eq .Header.Theme.Name "nox"}}
<div class="user_box"> <div class="user_box">
<img src="{{.CurrentUser.MicroAvatar}}"> <a href="{{.CurrentUser.Link}}"><img alt="Avatar" src="{{.CurrentUser.MicroAvatar}}"></a>
<div class="option_box"> <div class="option_box">
<a href="{{.CurrentUser.Link}}"class="username">{{.CurrentUser.Name}}</a> <a href="{{.CurrentUser.Link}}"class="username">{{.CurrentUser.Name}}</a>
<span class="alerts">{{lang "alerts.no_alerts_short"}}</span> <span class="alerts">{{lang "alerts.no_alerts_short"}}</span>