Show username tootltip on avatar
authorr@freesoftwareextremist.com <r@freesoftwareextremist.com>
Sat, 22 Aug 2020 06:45:40 +0000 (06:45 +0000)
committerr <r@freesoftwareextremist.com>
Sat, 22 Aug 2020 07:15:15 +0000 (07:15 +0000)
templates/notification.tmpl
templates/status.tmpl
templates/userlist.tmpl

index 02b38472bf1a1df8969871cdf7015a3f598df3fe..b1855a6162f0efe3aae6c3209916d00f731ba976 100644 (file)
@@ -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>
index ec0d2978af995013ec54cd0e83aeab1b14e9996f..3c0533bb37f82db9c9e4fd003b0ae0301813e907 100644 (file)
@@ -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"> 
index 426bffc3e89a306ad86d8136c493a4df4b8a6eb3..b4e8cd05955c883ecbe7173745cf6ea147cbf970 100644 (file)
@@ -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>