diff options
author | r@freesoftwareextremist.com <r@freesoftwareextremist.com> | 2020-08-22 06:45:40 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-08-22 07:15:15 +0000 |
commit | b5758986c6b2fd126506a280f07b0a8c3574026c (patch) | |
tree | 178ed3188428119f387a39c495af169e48b7e06b /templates | |
parent | 798587868f66284439344f02ff88e0ead3848524 (diff) | |
download | bloat-b5758986c6b2fd126506a280f07b0a8c3574026c.tar.gz bloat-b5758986c6b2fd126506a280f07b0a8c3574026c.zip |
Show username tootltip on avatar
Diffstat (limited to 'templates')
-rw-r--r-- | templates/notification.tmpl | 6 | ||||
-rw-r--r-- | templates/status.tmpl | 4 | ||||
-rw-r--r-- | templates/userlist.tmpl | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 02b3847..b1855a6 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -20,7 +20,7 @@ <div class="notification-follow-container"> <div class="status-profile-img-container"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="profile-avatar" /> </a> </div> <div> @@ -43,7 +43,7 @@ {{else if eq .Type "reblog"}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span> retweeted your post </span> @@ -56,7 +56,7 @@ {{else if eq .Type "favourite"}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span> liked your post </span> diff --git a/templates/status.tmpl b/templates/status.tmpl index ec0d297..3c0533b 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -3,7 +3,7 @@ {{if .Reblog}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> retweeted @@ -15,7 +15,7 @@ <div class="status-container status-{{.ID}}" data-id="{{.ID}}"> <div class="status-profile-img-container"> <a class="img-link" href="/user/{{.Account.ID}}"> - <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> + <img class="status-profile-img" src="{{.Account.AvatarStatic}}" title="{{.Account.Acct}}" alt="avatar" /> </a> </div> <div class="status"> diff --git a/templates/userlist.tmpl b/templates/userlist.tmpl index 426bffc..b4e8cd0 100644 --- a/templates/userlist.tmpl +++ b/templates/userlist.tmpl @@ -4,7 +4,7 @@ <div class="user-list-item"> <div> <a class="img-link" href="/user/{{.ID}}"> - <img class="status-profile-img" src="{{.AvatarStatic}}" alt="avatar" /> + <img class="status-profile-img" src="{{.AvatarStatic}}" title="{{.Acct}}" alt="avatar" /> </a> </div> <div> |