linkify avatars on profile comments
This commit is contained in:
parent
2211d2ef11
commit
c6d18e5c18
|
@ -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 **/}}
|
||||
{{if eq .Header.Theme.Name "nox"}}
|
||||
<div class="user_box">
|
||||
<a href="{{.CurrentUser.Link}}"><img alt="Avatar" src="{{.CurrentUser.MicroAvatar}}"></a>
|
||||
<a href="{{.CurrentUser.Link}}"><img alt="Avatar"src="{{.CurrentUser.MicroAvatar}}"></a>
|
||||
<div class="option_box">
|
||||
<a href="{{.CurrentUser.Link}}"class="username">{{.CurrentUser.Name}}</a>
|
||||
<span class="alerts">{{lang "alerts.no_alerts_short"}}</span>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div id="post-{{.ID}}"class="rowitem passive deletable_block editable_parent comment {{.ClassName}}">
|
||||
<div class="topRow">
|
||||
<div class="userbit">
|
||||
<img src="{{.MicroAvatar}}"alt="Avatar"title="{{.CreatedByName}}'s Avatar"aria-hidden="true">
|
||||
<a href="{{.UserLink}}"><img src="{{.MicroAvatar}}"alt="Avatar"title="{{.CreatedByName}}'s Avatar"aria-hidden="true"></a>
|
||||
<span class="nameAndTitle">
|
||||
<a href="{{.UserLink}}"class="real_username username">{{.CreatedByName}}</a>
|
||||
{{if .Tag}}<a class="username hide_on_mobile user_tag"style="float:right;">{{.Tag}}</a>{{end}}
|
||||
|
|
|
@ -5,4 +5,7 @@
|
|||
padding: 8px;
|
||||
margin-left: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.userbit > a {
|
||||
height: 40px;
|
||||
}
|
|
@ -67,6 +67,9 @@
|
|||
font-size: 17px;
|
||||
line-height: 16px;
|
||||
}
|
||||
.userbit > a {
|
||||
height: 40px;
|
||||
}
|
||||
.userbit img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
|
|
Loading…
Reference in New Issue